diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-11-25 22:03:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-26 23:23:52 +0100 |
commit | c74c72034f061d1d9d5b8b1fba20ce0138d423b4 (patch) | |
tree | 065226593a643ef7f8d911a46b7bd0720ac7d5b6 /t/lib-gettext.sh | |
parent | test: make FILEMODE a lazy prereq (diff) | |
download | git-c74c72034f061d1d9d5b8b1fba20ce0138d423b4.tar.xz git-c74c72034f061d1d9d5b8b1fba20ce0138d423b4.zip |
test: replace shebangs with descriptions in shell libraries
A #! line in these files is misleading, since these scriptlets are
meant to be sourced with '.' (using whatever shell sources them)
instead of run directly using the interpreter named on the #! line.
Removing the #! line shouldn't hurt syntax highlighting since
these files have filenames ending with '.sh'. For documentation,
add a brief description of how the files are meant to be used in
place of the shebang line.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gettext.sh')
-rw-r--r-- | t/lib-gettext.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-gettext.sh b/t/lib-gettext.sh index ae8883a075..eec757f104 100644 --- a/t/lib-gettext.sh +++ b/t/lib-gettext.sh @@ -1,4 +1,5 @@ -#!/bin/sh +# Initialization and Icelandic locale for basic git i18n tests, +# which source this scriptlet instead of ./test-lib.sh. # # Copyright (c) 2010 Ævar Arnfjörð Bjarmason # |