diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:26:48 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:26:48 -0800 |
commit | 8e606f97f8dee35f839b50900db8ab98fe189b3c (patch) | |
tree | afc5ecd44f4a8422573c62a2ce23c108f67c5776 /git-sh-setup.sh | |
parent | Merge branch 'rj/no-xopen-source-for-cygwin' (diff) | |
parent | git-sh-setup.sh: use dashdash with basename call (diff) | |
download | tgif-8e606f97f8dee35f839b50900db8ab98fe189b3c.tar.xz |
Merge branch 'dw/shell-basename-dashdash-before-stripping-leading-dash-from-login'
* dw/shell-basename-dashdash-before-stripping-leading-dash-from-login:
git-sh-setup.sh: use dashdash with basename call
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r-- | git-sh-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index d968760139..c42c6e6365 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -81,7 +81,7 @@ if test -n "$OPTIONS_SPEC"; then echo exit $? )" else - dashless=$(basename "$0" | sed -e 's/-/ /') + dashless=$(basename -- "$0" | sed -e 's/-/ /') usage() { die "usage: $dashless $USAGE" } |