summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:19 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:19 -0700
commitf817f2fbb5e3dbe49be446438838a11b192c2715 (patch)
tree631f27ce82032851689e962945ce2fa5c5b06a9e /revision.h
parentcd4093b6036af696310b1867e9e916485d53ccf4 (diff)
parentbeba25abbc34a07e07ce933210cda15202ef76cc (diff)
downloadgit-f817f2fbb5e3dbe49be446438838a11b192c2715.tar.gz
Merge branch 'jc/traverse-commit-list'
* jc/traverse-commit-list: revision.c: update show_object_with_name() without using malloc() revision.c: add show_object_with_name() helper function rev-list: fix finish_object() call
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 93d31556cb..8eeb542dfb 100644
--- a/revision.h
+++ b/revision.h
@@ -205,6 +205,8 @@ struct name_path {
char *path_name(const struct name_path *path, const char *name);
+extern void show_object_with_name(FILE *, struct object *, const struct name_path *, const char *);
+
extern void add_object(struct object *obj,
struct object_array *p,
struct name_path *path,