Skip to content

Commit 7513595

Browse files
jrngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 14c63a9 commit 7513595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-cmdlist.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
echo "/* Automatically generated by $0 */
3+
echo "/* Automatically generated by generate-cmdlist.sh */
44
struct cmdname_help {
55
char name[16];
66
char help[80];

0 commit comments

Comments
 (0)