Code

handle_options in git wrapper miscounts the options it handled.
authorMatthias Lederhofer <matled@gmx.net>
Thu, 12 Apr 2007 18:52:03 +0000 (20:52 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 13 Apr 2007 00:46:51 +0000 (17:46 -0700)
commite4b023332c687d824cff41855b41f604ee72e0d2
treea07437cf1915795c9381e651608bffe35bed5894
parent9b11d24d4156e0b2246383faad16eb8aa0caeefb
handle_options in git wrapper miscounts the options it handled.

handle_options did not count the number of used arguments
correctly.  When --git-dir was used the extra argument was
not added to the number of handled arguments.

Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c