Thomas Rast
e423ffd8a6
diff: accept -- when using --no-index
...
Accept -- as an "end of options" marker even when using --no-index.
Previously, the -- triggered a "normal" index/tree diff and subsequently
failed because of the unrecognized (in that mode) --no-index.
Note that the second loop can treat '--' as a normal option, because
the preceding checks ensure it is the third-to-last argument.
While at it, fix the parsing of "-q" option in --no-index mode as well.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-01-06 23:18:20 -08:00
..
2007-07-02 21:05:45 -07:00
2006-07-01 22:02:17 -07:00
2008-05-24 00:16:39 -07:00
2009-01-06 23:18:20 -08:00
2008-05-24 00:16:39 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2008-10-12 12:36:19 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-29 12:07:27 -07:00
2006-10-05 15:10:40 -07:00
2006-06-27 15:36:19 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-07-29 23:18:15 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-07-29 23:18:15 -07:00
2008-07-29 23:18:15 -07:00
2008-03-02 15:27:27 -08:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2007-01-17 23:48:20 -08:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2007-10-15 20:24:27 -04:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00