author | Junio C Hamano <junkio@cox.net> | |
Sat, 11 Jun 2005 01:44:36 +0000 (18:44 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 13 Jun 2005 03:40:20 +0000 (20:40 -0700) | ||
commit | 9939664a0bbd58373095cfb534c6f0191be656a6 | |
tree | 3a24a85e04479f2f7fb6d1bd1a4288f09b3bf4f7 | tree | snapshot |
parent | 036d51cc557bcf919246ad30cb2ac7736bfc836b | commit | diff |
[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>
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 | diff | blob | history |