Files
git/builtin
Bo Yang f9daa44d21 Refactor parse_loc
Both 'git blame -L' and 'git log -L' parse the same style
of line number arguments, so put the 'parse_loc' function
to line.c and export it.

The caller of parse_loc should provide a callback function
which is used to calculate the start position of the nth line.
Other parts such as regexp search, line number parsing are
abstracted and re-used.

Note that, we can use '$' to specify the last line of a file.

Signed-off-by: Bo Yang <struggleyb.nku@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-08-12 14:18:50 -07:00
..
2010-08-12 14:18:50 -07:00
2010-06-21 06:02:47 -07:00
2010-06-27 12:07:55 -07:00
2010-06-21 06:02:44 -07:00
2010-06-18 11:16:53 -07:00
2010-07-16 15:45:35 -07:00
2010-06-07 22:15:31 -07:00
2010-07-15 12:07:18 -07:00
2010-06-30 11:55:40 -07:00
2010-06-18 11:16:54 -07:00
2010-06-28 17:42:26 -07:00
2010-07-15 12:08:36 -07:00
2010-06-12 09:39:06 -07:00
2010-07-07 11:18:26 -07:00
2010-06-29 10:36:13 -07:00