diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2020-01-17 08:42:32 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2020-01-17 08:43:31 +0100 |
commit | f17f6127f8e58c469bda21ec76f372bd2e1c70c0 (patch) | |
tree | eb57c13377fa9cd9fcb74f8f5a5df32d23111d96 /contrib/ChangeLog | |
parent | 5194b51ed9714808d88827531e91474895b6c706 (diff) |
contrib/gcc_update: Insert "tformat:" for git log --pretty=tformat:%p:%t:%H
Really old git versions (like 1.6.0) require
"git log --pretty=tformat:%p:%t:%H"
or else we see:
Updating GIT tree
Current branch master is up to date.
fatal: invalid --pretty format: %p:%t:%H
Adjusting file timestamps
Touching gcc/config.in...
Touching gcc/config/arm/arm-tune.md...
...and an empty revision in LAST_UPDATED and gcc/REVISION.
In its absence, for newer git versions, "tformat" is the default
qualifier, documented as such default for at least git-2.11.0.
Diffstat (limited to 'contrib/ChangeLog')
-rw-r--r-- | contrib/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 16d0667694d..4e89b8d611b 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2020-01-17 Hans-Peter Nilsson <hp@axis.com> + + * gcc_update <git revision>: Use git log "--pretty=tformat:%p:%t:%H", + not "--pretty=%p:%t:%H". + 2020-01-16 Andreas Schwab <schwab@linux-m68k.org> * gcc-git-customization.sh: Avoid double expansion. |