author | Stephan Beyer <s-beyer@gmx.net> | |
Wed, 9 Jul 2008 12:58:57 +0000 (14:58 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Jul 2008 07:26:29 +0000 (00:26 -0700) | ||
commit | 5b2fd95606cd6d564f96d9d253e7cd19263bc352 | |
tree | 5c2741d770915f32256525a6ca5f03b098571b46 | tree | snapshot |
parent | 99d698f1e703754422f1dd780487ddbff3726dc3 | commit | diff |
rerere: Separate libgit and builtin functions
This patch moves rerere()-related functions into a newly created
rerere.c file.
The setup_rerere() function is needed by both rerere() and cmd_rerere(),
so this function is moved to rerere.c and declared non-static (and "extern")
in newly created rerere.h file.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch moves rerere()-related functions into a newly created
rerere.c file.
The setup_rerere() function is needed by both rerere() and cmd_rerere(),
so this function is moved to rerere.c and declared non-static (and "extern")
in newly created rerere.h file.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
builtin-commit.c | diff | blob | history | |
builtin-rerere.c | diff | blob | history | |
commit.h | diff | blob | history | |
rerere.c | [new file with mode: 0644] | blob |
rerere.h | [new file with mode: 0644] | blob |