add shebang line to git-mergetool--lib.sh
Even though this script is expected to be sourced instead of executed on its own, the #!/bin/sh line provides simple documentation about what format the file is in. In particular, the lack of such a line was confusing the valgrind support of our test scripts, which assumed that any executable without a #!-line should be intercepted and run through valgrind. So during valgrind-enabled tests, any script sourcing this file actually sourced the valgrind interception script instead. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
7b48c17093
commit
02e5124355
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
# git-mergetool--lib is a library for common merge tool functions
|
||||
diff_mode() {
|
||||
test "$TOOL_MODE" = diff
|
||||
|
Loading…
Reference in New Issue
Block a user