Matthieu Moy
dea007fb4c
diff: parse separate options like -S foo
...
Change the option parsing logic in revision.c to accept separate forms
like `-S foo' in addition to `-Sfoo'. The rest of git already accepted
this form, but revision.c still used its own option parsing.
Short options affected are -S<string>, -l<num> and -O<orderfile>, for
which an empty string wouldn't make sense, hence -<option> <arg> isn't
ambiguous.
This patch does not handle --stat-name-width and --stat-width, which are
special-cases where diff_long_opt do not apply. They are handled in a
separate patch to ease review.
Original patch by Matthieu Moy, plus refactoring by Jonathan Nieder.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-08-06 09:14:22 -07:00
..
2007-07-02 21:05:45 -07:00
2006-07-01 22:02:17 -07:00
2009-02-20 00:02:48 -08: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
2009-02-18 10:55:33 -08: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-06-26 23:29:11 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 23:29:11 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-29 12:07:27 -07:00
2006-10-05 15:10:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-27 15:36:19 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 23:29:11 -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-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:46:02 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2010-06-16 10:08:59 -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-10-18 07:18:03 -07:00
2007-01-17 23:48:20 -08:00
2009-10-12 16:22:35 -07:00
2009-10-12 16:22:35 -07:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:18 -08:00
2009-02-13 17:18:22 -08:00
2010-08-06 09:14:22 -07:00
2006-07-13 21:40:43 -07:00
2007-10-15 20:24:27 -04:00
2009-02-13 17:18:22 -08:00
2009-02-20 00:02:48 -08:00
2009-02-20 00:02:48 -08:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2009-02-13 17:18:22 -08:00
2006-06-26 14:36:40 -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
2009-02-13 17:18:22 -08:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2009-02-13 17:18:22 -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