From: Paul Campbell <pcampbell@kemitix.net>
To: git@vger.kernel.org
Cc: greened@obbligato.org, Paul Campbell <pcampbell@kemitix.net>
Subject: [PATCH 0/3] Improve POSIX compatibility and general portablity
Date: Sun, 24 Mar 2013 19:37:40 +0000 [thread overview]
Message-ID: <1364153863-27437-1-git-send-email-pcampbell@kemitix.net> (raw)
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
next reply other threads:[~2013-03-24 19:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-24 19:37 Paul Campbell [this message]
2013-03-24 19:37 ` [PATCH 1/3] contrib/subtree: stop explicitly using a bash shell Paul Campbell
2013-03-25 17:57 ` Junio C Hamano
2013-03-24 19:37 ` [PATCH 2/3] contrib/subtree: remove use of -a/-o in [ commands Paul Campbell
2013-03-24 21:17 ` Simon Ruderich
2013-03-24 19:37 ` [PATCH 3/3] contrib/subtree: replace echo options with printf Paul Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364153863-27437-1-git-send-email-pcampbell@kemitix.net \
--to=pcampbell@kemitix.net \
--cc=git@vger.kernel.org \
--cc=greened@obbligato.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.