From: Dmitry Marakasov Date: Mon, 20 May 2013 20:24:34 +0000 (+0400) Subject: contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash X-Git-Tag: v1.8.3.3~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6912ea952bf5d1b2d21d5935d6b726bab02d8bf6;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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 #