diff options
author | Stephan Beyer <s-beyer@gmx.net> | 2008-07-09 14:58:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-10 00:26:29 -0700 |
commit | 5b2fd95606cd6d564f96d9d253e7cd19263bc352 (patch) | |
tree | 5c2741d770915f32256525a6ca5f03b098571b46 /rerere.h | |
parent | 99d698f1e703754422f1dd780487ddbff3726dc3 (diff) | |
download | git-5b2fd95606cd6d564f96d9d253e7cd19263bc352.tar.gz |
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>
Diffstat (limited to 'rerere.h')
-rw-r--r-- | rerere.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rerere.h b/rerere.h new file mode 100644 index 0000000000..35b0fa86a3 --- /dev/null +++ b/rerere.h @@ -0,0 +1,9 @@ +#ifndef RERERE_H +#define RERERE_H + +#include "path-list.h" + +extern int setup_rerere(struct path_list *); +extern int rerere(void); + +#endif |