author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 26 Feb 2006 00:19:46 +0000 (16:19 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 26 Feb 2006 23:33:27 +0000 (15:33 -0800) | ||
commit | ae563542bf10fa8c33abd2a354e4b28aca4264d7 | |
tree | dc54d0ef8482bb76e1dbb5c4ca9da3a9387761a7 | tree | snapshot |
parent | ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4 | commit | diff |
First cut at libifying revlist generation
This really just splits things up partially, and creates the
interface to set things up by parsing the command line.
No real code changes so far, although the parsing of filenames is a bit
stricter. In particular, if there is a "--", then we do not accept any
filenames before it, and if there isn't any "--", then we check that _all_
paths listed are valid, not just the first one.
The new argument parsing automatically also gives us "--default" and
"--not" handling as in git-rev-parse.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This really just splits things up partially, and creates the
interface to set things up by parsing the command line.
No real code changes so far, although the parsing of filenames is a bit
stricter. In particular, if there is a "--", then we do not accept any
filenames before it, and if there isn't any "--", then we check that _all_
paths listed are valid, not just the first one.
The new argument parsing automatically also gives us "--default" and
"--not" handling as in git-rev-parse.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
epoch.c | diff | blob | history | |
epoch.h | diff | blob | history | |
rev-list.c | diff | blob | history | |
revision.c | [new file with mode: 0644] | blob |
revision.h | [new file with mode: 0644] | blob |