summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-05-31 16:16:48 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-31 16:16:48 -0700
commit1136e2c6426f736fd4fde6d4cf901e8b192ab30b (patch)
treeaeedfae91a978000c93ab98a518bb1a7b431ec54 /commit.h
parent6e4f981ffb88c8a9d3d6128314f4dd4f54ffb8a8 (diff)
parent2d938fc7bcf2c8ce314c44955db5a4dd2e9b6adb (diff)
downloadgit-1136e2c6426f736fd4fde6d4cf901e8b192ab30b.tar.gz
Merge branch 'cc/bisect' (early part)
* 'cc/bisect' (early part): bisect: check ancestors without forking a "git rev-list" process commit: add function to unparse a commit and its parents bisect: rework some rev related functions to make them more reusable
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index ba9f63813e..f3eaf1d048 100644
--- a/commit.h
+++ b/commit.h
@@ -40,6 +40,8 @@ int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size);
int parse_commit(struct commit *item);
+void unparse_commit(struct commit *item);
+
struct commit_list * commit_list_insert(struct commit *item, struct commit_list **list_p);
unsigned commit_list_count(const struct commit_list *l);
struct commit_list * insert_by_date(struct commit *item, struct commit_list **list);