When checking for make update changes, only check tracked files
authorRichard Levitte <levitte@openssl.org>
Mon, 3 Apr 2023 06:54:42 +0000 (08:54 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 16 May 2023 03:54:35 +0000 (05:54 +0200)
commita67370165dfd4adb6b8d5527cb32fe2ed768a01d
treed20b116cb0be8e5828963390c5430a0061e6f344
parentd4e73143343f65635eb346bb13611423167db02e
When checking for make update changes, only check tracked files

Sometimes, 'make update' leaves behind files that aren't tracked, and this
shouldn't cause trying to add an extra commit.  However, we only checked
with 'git status --porcelain', which does list untracked files.  This can
cause release failure, so we add a few more options so git status doesn't
report on these files that should be ignored.

This also includes a documenting comment for a piece of the scripts that's
potentially confusing without the explanation.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/tools/pull/140)
release-tools/release.sh