Skip to content

Commit 6912ea9

Browse files
AMDmi3gitster
authored andcommitted
contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash
Use /bin/sh interpreter instead of /bin/bash for contrib/git-subtree: it's required for systems which don't use bash by default (for example, FreeBSD), while there seem to be no bashisms in the script (confirmed by looking through the source and tesing subtree functionality with FreeBSD's /bin/sh) to require specifically bash and not the generic posix shell. Signed-off-by: Dmitry Marakasov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9134a46 commit 6912ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/subtree/git-subtree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
#
33
# git-subtree.sh: split/join git repositories in subdirectories of this one
44
#

0 commit comments

Comments
 (0)