summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-07-09 12:58:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-10 07:26:29 (GMT)
commit5b2fd95606cd6d564f96d9d253e7cd19263bc352 (patch)
tree5c2741d770915f32256525a6ca5f03b098571b46 /Makefile
parent99d698f1e703754422f1dd780487ddbff3726dc3 (diff)
downloadgit-5b2fd95606cd6d564f96d9d253e7cd19263bc352.zip
git-5b2fd95606cd6d564f96d9d253e7cd19263bc352.tar.gz
git-5b2fd95606cd6d564f96d9d253e7cd19263bc352.tar.bz2
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4796565..de15163 100644
--- a/Makefile
+++ b/Makefile
@@ -363,6 +363,7 @@ LIB_H += quote.h
LIB_H += reflog-walk.h
LIB_H += refs.h
LIB_H += remote.h
+LIB_H += rerere.h
LIB_H += revision.h
LIB_H += run-command.h
LIB_H += sha1-lookup.h
@@ -447,6 +448,7 @@ LIB_OBJS += read-cache.o
LIB_OBJS += reflog-walk.o
LIB_OBJS += refs.o
LIB_OBJS += remote.o
+LIB_OBJS += rerere.o
LIB_OBJS += revision.o
LIB_OBJS += run-command.o
LIB_OBJS += server-info.o