summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-03-26 04:25:27 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-27 11:26:36 -0700
commitf27491d59ef66fcb175101e1bca457c3d69dc1d9 (patch)
treeb54143d89e56c3b5ba5b05bfa26a71964c9426aa
parentGit 2.26 (diff)
downloadtgif-f27491d59ef66fcb175101e1bca457c3d69dc1d9.tar.xz
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>
-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 937b831ea6..5ea8bc9f1d 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,