]> git.ipfire.org Git - thirdparty/git.git/commit - diff-stages.c
[PATCH] diff-stages: unuglify the too big main() function.
authorJunio C Hamano <junkio@cox.net>
Sat, 11 Jun 2005 01:44:36 +0000 (18:44 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 03:40:20 +0000 (20:40 -0700)
commit9939664a0bbd58373095cfb534c6f0191be656a6
tree3a24a85e04479f2f7fb6d1bd1a4288f09b3bf4f7
parent036d51cc557bcf919246ad30cb2ac7736bfc836b
[PATCH] diff-stages: unuglify the too big main() function.

Split the core of the program, diff_stage, from one big "main()"
function that does it all and leave only the parameter parsing,
setup and finalize part in the main().

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-stages.c