summaryrefslogtreecommitdiff
path: root/contrib/subtree/git-subtree.sh
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2013-05-20 20:24:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-05-21 16:24:17 (GMT)
commit6912ea952bf5d1b2d21d5935d6b726bab02d8bf6 (patch)
tree7924ef478d4f43f5d6dc5437f7053a238200db9d /contrib/subtree/git-subtree.sh
parent9134a460e3ebfc93790e98d74b3cda2bcca8eb8b (diff)
downloadgit-6912ea952bf5d1b2d21d5935d6b726bab02d8bf6.zip
git-6912ea952bf5d1b2d21d5935d6b726bab02d8bf6.tar.gz
git-6912ea952bf5d1b2d21d5935d6b726bab02d8bf6.tar.bz2
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/git-subtree.sh')
-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 8a23f58..5701376 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
#