summaryrefslogtreecommitdiff
path: root/t/lib-credential.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-03-26 08:25:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-27 18:26:36 (GMT)
commitf27491d59ef66fcb175101e1bca457c3d69dc1d9 (patch)
treeb54143d89e56c3b5ba5b05bfa26a71964c9426aa /t/lib-credential.sh
parent274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925 (diff)
downloadgit-f27491d59ef66fcb175101e1bca457c3d69dc1d9.zip
git-f27491d59ef66fcb175101e1bca457c3d69dc1d9.tar.gz
git-f27491d59ef66fcb175101e1bca457c3d69dc1d9.tar.bz2
t/lib-credential.sh: drop shebang line
The purpose of lib-credential.sh is to be sourced into other test scripts. It doesn't need a "#!/bin/sh" line, as running it directly makes no sense. Nor does it serve any real filetype documentation purpose, as the file is clearly named with a ".sh" extension. In the spirit of c74c72034f (test: replace shebangs with descriptions in shell libraries, 2013-11-25), let's replace it with a human-readable description. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-credential.sh')
-rwxr-xr-xt/lib-credential.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 937b831..5ea8bc9 100755
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -1,4 +1,5 @@
-#!/bin/sh
+# Shell library for testing credential handling including helpers. See t0302
+# for an example of testing a specific helper.
# Try a set of credential helpers; the expected stdin,
# stdout and stderr should be provided on stdin,