generate-cmdlist: avoid non-deterministic output
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>
Jonathan Nieder committed
Jul 1, 2016 at 17:32 UTC
7513595a3b997e07ad525b213b83e4f0bd358bb9
1 file changed
+1
-1
generate-cmdlist.sh
+1
-1
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
3
-echo "/* Automatically generated by $0 */
3
+echo "/* Automatically generated by generate-cmdlist.sh */
4
struct cmdname_help {
5
char name[16];
6
char help[80];