Junio C Hamano
7c5f3cc4a5
grep: use get_pathspec() correctly
...
When there is no remaining string in argv, get_pathspec(prefix, argv)
will return a two-element array that has prefix as the first element,
so there is no need to re-roll that logic in the code that uses
get_pathspec().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-05-10 12:11:01 -07:00
..
2011-03-16 16:59:30 -07:00
2011-03-15 14:22:02 -07:00
2011-03-16 12:49:02 -07:00
2011-03-16 12:52:15 -07:00
2010-12-12 21:49:50 -08:00
2011-03-15 14:22:16 -07:00
2011-03-19 23:24:12 -07:00
2011-03-19 23:24:19 -07:00
2011-02-27 21:58:31 -08:00
2011-02-18 22:25:51 -08:00
2011-02-03 12:28:15 -08:00
2011-02-27 21:17:36 -08:00
2011-02-27 21:58:30 -08:00
2011-03-08 12:12:04 -08:00
2011-03-19 23:24:12 -07:00
2011-01-27 12:58:15 -08:00
2010-12-12 21:49:50 -08:00
2011-05-10 12:11:01 -07:00
2011-02-07 15:05:25 -08:00
2011-03-16 12:49:02 -07:00
2011-03-17 16:08:30 -07:00
2011-03-19 23:25:38 -07:00
2010-12-12 21:49:50 -08:00
2011-03-02 12:26:53 -08:00
2011-03-19 23:23:56 -07:00
2011-02-15 11:53:10 -08:00
2010-12-10 12:58:06 -08:00
2011-02-17 11:56:50 -08:00
2011-03-19 23:24:12 -07:00
2011-02-15 11:53:10 -08:00
2011-03-19 23:24:12 -07:00
2011-01-18 10:18:25 -08:00
2011-03-02 12:26:18 -08:00
2011-03-09 15:56:17 -08:00
2010-12-19 10:44:06 -08:00
2010-12-06 16:51:36 -08:00
2011-02-15 11:53:10 -08:00
2011-02-03 14:08:30 -08:00
2010-12-08 11:24:13 -08:00