1
0
mirror of https://github.com/git/git synced 2024-07-07 19:39:27 +00:00

git-mergetool: properly handle "git mergetool -- filename"

Like many git commands, git-mergetool allows "--" to signal
the end of option processing.  This adds a missing "shift"
statement so that this is correctly handled.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
David Aguilar 2008-12-19 17:01:01 -08:00 committed by Junio C Hamano
parent 0e73b3ee6c
commit ce2c3ebbc5

View File

@ -296,6 +296,7 @@ do
esac
;;
--)
shift
break
;;
-*)