From f27491d59ef66fcb175101e1bca457c3d69dc1d9 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 26 Mar 2020 04:25:27 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- t/lib-credential.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/lib-credential.sh') 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, -- cgit v1.2.1 From 12dc0879f18b39e1020bd6afec117bc38110d8c9 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 26 Mar 2020 04:25:53 -0400 Subject: t/lib-*.sh: drop executable bit There's no need for shell libraries to have the executable bit. They're meant to be sourced, and running them stand-alone is pointless. Let's reduce any possible confusion by making it more clear they're not meant to be run this way. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- t/lib-credential.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 t/lib-credential.sh (limited to 't/lib-credential.sh') diff --git a/t/lib-credential.sh b/t/lib-credential.sh old mode 100755 new mode 100644 -- cgit v1.2.1