aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-06 21:34:41 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-06 23:58:46 -0800
commitcac42b266a5868fc54b2e54986fa2689676ec447 (patch)
treecc6a21fd29ed1965b6277e6357e8e849a3eceb0b /cache.h
parent8b74d75cd26d28d38d2ff88267585fc308b89cef (diff)
downloadgit-cac42b266a5868fc54b2e54986fa2689676ec447.tar.gz
git-cac42b266a5868fc54b2e54986fa2689676ec447.tar.xz
builtin/merge: make checkout_fast_forward() non static
and also export it in "cache.h". Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index d454b7e68..3cce9077c 100644
--- a/cache.h
+++ b/cache.h
@@ -1040,4 +1040,7 @@ void overlay_tree_on_cache(const char *tree_name, const char *prefix);
char *alias_lookup(const char *alias);
int split_cmdline(char *cmdline, const char ***argv);
+/* builtin/merge.c */
+int checkout_fast_forward(const unsigned char *from, const unsigned char *to);
+
#endif /* CACHE_H */