]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/lib-credential.sh: drop shebang line
authorJeff King <peff@peff.net>
Thu, 26 Mar 2020 08:25:27 +0000 (04:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Mar 2020 18:26:36 +0000 (11:26 -0700)
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>
t/lib-credential.sh

index 937b831ea675230c1e0fbe8ba7ebb3004de71b3b..5ea8bc9f1dcfe644da4b9ce720f2a523ff172475 100755 (executable)
@@ -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,