git-sh-setup.sh: use dashdash with basename call
commit7d665f35849309faaa73cdfbf23210950cd4389d
authorDan Wyand <danwyand@gmail.com>
Mon, 24 Nov 2014 23:03:31 +0000 (24 18:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Nov 2014 18:06:08 +0000 (25 10:06 -0800)
tree01bb4963b6b80af6c7f3b9bad634a6a43fcf1d5d
parent7fa1365c54c28b3cd9375539f381b54061a1880d
git-sh-setup.sh: use dashdash with basename call

Calling basename on a argument that starts with a dash, like a login
shell, will result in an error. Add '--' before the argument so that
the argument is interpreted properly.

Signed-off-by: Dan Wyand <danwyand@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-sh-setup.sh