git-subtree is considered to be a Bash only script and not POSIX
compatibile.

I removed the /bin/bash and tested with dash. All the tests 
passed.

I also followed some of the advice found in 
https://wiki.ubuntu.com/DashAsBinSh for converting a bash script to be 
more portable.

Paul Campbell (3):
  contrib/subtree: stop explicitly using a bash shell
  contrib/subtree: remove use of -a/-o in [ commands
  contrib/subtree: replace echo options with printf

 contrib/subtree/git-subtree.sh | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to