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 | |
parent | 7665d9c3a63a026ab4d83411fc699b82ab310b3c (diff) | |
parent | 7d665f35849309faaa73cdfbf23210950cd4389d (diff) | |
download | git-8e606f97f8dee35f839b50900db8ab98fe189b3c.tar.gz |
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
-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" } |