Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
generate-cmdlist: avoid non-deterministic output
author
Jonathan Nieder
<jrnieder@gmail.com>
Sat, 2 Jul 2016 00:32:00 +0000
(17:32 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Nov 2017 05:56:30 +0000
(14:56 +0900)
Non-determinism makes it harder for build tools to discover when a
target needs to be rebuilt.
generate-cmdlist.sh stores the full path in a comment:
/* Automatically generated by /build/git-agojiD/git-2.15.0/generate-cmdlist.sh */
Use the file name alone instead.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
generate-cmdlist.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
14c63a9
)
diff --git
a/generate-cmdlist.sh
b/generate-cmdlist.sh
index ab0d1b0c064a72480d7eac454b297ce95a48c8f3..eeea4b67ea7f1ccee1770c18a36d018b5f3b32b0 100755
(executable)
--- a/
generate-cmdlist.sh
+++ b/
generate-cmdlist.sh
@@
-1,6
+1,6
@@
#!/bin/sh
-echo "/* Automatically generated by
$0
*/
+echo "/* Automatically generated by
generate-cmdlist.sh
*/
struct cmdname_help {
char name[16];
char help[80];