diff options
| author | Dan Wyand <danwyand@gmail.com> | 2014-11-24 18:03:31 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-11-25 10:06:08 -0800 |
| commit | 7d665f35849309faaa73cdfbf23210950cd4389d (patch) | |
| tree | 01bb4963b6b80af6c7f3b9bad634a6a43fcf1d5d /notes.c | |
| parent | 7fa1365c54c28b3cd9375539f381b54061a1880d (diff) | |
| download | git-7d665f35849309faaa73cdfbf23210950cd4389d.tar.gz | |
git-sh-setup.sh: use dashdash with basename calldw/shell-basename-dashdash-before-stripping-leading-dash-from-login
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>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions
