aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/subtree
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2013-05-21 00:24:34 +0400
committerJunio C Hamano <gitster@pobox.com>2013-05-21 09:24:17 -0700
commit6912ea952bf5d1b2d21d5935d6b726bab02d8bf6 (patch)
tree7924ef478d4f43f5d6dc5437f7053a238200db9d /contrib/subtree
parent9134a460e3ebfc93790e98d74b3cda2bcca8eb8b (diff)
downloadgit-6912ea952bf5d1b2d21d5935d6b726bab02d8bf6.tar.gz
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 <amdmi3@amdmi3.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree')
-rwxr-xr-xcontrib/subtree/git-subtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/subtree/git-subtree.sh b/contrib/subtree/git-subtree.sh
index 8a23f58ba0..57013763ec 100755
--- a/contrib/subtree/git-subtree.sh
+++ b/contrib/subtree/git-subtree.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# git-subtree.sh: split/join git repositories in subdirectories of this one
#