aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-11 02:05:12 -0700
committerJunio C Hamano <gitster@pobox.com>2008-03-11 02:05:12 -0700
commit5d921e2931e5041884d8f86fdccc9004a7b071cc (patch)
treedeedbb6c40af5a3cceedf01ce0f315217a39fa16 /cache.h
parent1c536069780bc67c05e621f0485f787d04559f24 (diff)
parent8177631547e4d10ae071def07eff83e056092bfa (diff)
downloadgit-5d921e2931e5041884d8f86fdccc9004a7b071cc.tar.gz
git-5d921e2931e5041884d8f86fdccc9004a7b071cc.tar.xz
Merge branch 'jc/cherry-pick' (early part)
* 'jc/cherry-pick' (early part): expose a helper function peel_to_type(). merge-recursive: split low-level merge functions out. Conflicts: Makefile builtin-merge-recursive.c sha1_name.c
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 e23030262..bdefcc918 100644
--- a/cache.h
+++ b/cache.h
@@ -543,6 +543,9 @@ extern void *read_object_with_reference(const unsigned char *sha1,
unsigned long *size,
unsigned char *sha1_ret);
+extern struct object *peel_to_type(const char *name, int namelen,
+ struct object *o, enum object_type);
+
enum date_mode {
DATE_NORMAL = 0,
DATE_RELATIVE,