]> Kevux Git Server - rit/commitdiff
contrib/git-subtree: Use /bin/sh interpreter instead of /bin/bash
authorDmitry Marakasov <amdmi3@amdmi3.ru>
Mon, 20 May 2013 20:24:34 +0000 (00:24 +0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 16:24:17 +0000 (09:24 -0700)
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>
contrib/subtree/git-subtree.sh

index 8a23f58..5701376 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # git-subtree.sh: split/join git repositories in subdirectories of this one
 #