Skip to content


contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash
Browse files Browse the repository at this point in the history
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 <>
  • Loading branch information
AMDmi3 authored and gitster committed May 21, 2013
1 parent 9134a46 commit 6912ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/subtree/
@@ -1,4 +1,4 @@
# split/join git repositories in subdirectories of this one
Expand Down

0 comments on commit 6912ea9

Please sign in to comment.