aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-07-09 14:58:57 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-10 00:26:29 -0700
commit5b2fd95606cd6d564f96d9d253e7cd19263bc352 (patch)
tree5c2741d770915f32256525a6ca5f03b098571b46 /commit.h
parent99d698f1e703754422f1dd780487ddbff3726dc3 (diff)
downloadgit-5b2fd95606cd6d564f96d9d253e7cd19263bc352.tar.gz
git-5b2fd95606cd6d564f96d9d253e7cd19263bc352.tar.xz
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 'commit.h')
-rw-r--r--commit.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 2d94d4148..fda7ad03c 100644
--- a/commit.h
+++ b/commit.h
@@ -131,7 +131,6 @@ extern struct commit_list *get_shallow_commits(struct object_array *heads,
int in_merge_bases(struct commit *, struct commit **, int);
extern int interactive_add(int argc, const char **argv, const char *prefix);
-extern int rerere(void);
static inline int single_parent(struct commit *commit)
{