aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-04-25 22:35:27 +0200
committerJunio C Hamano <gitster@pobox.com>2012-04-25 14:51:17 -0700
commit89b5f1d9c5e64c9e232fa1ebe0ea407c8773b79a (patch)
treead44ef41a6a12db2bb60945fea81d514afed71fe /commit.h
parentba8e6326f16748d67fbeda65ffde4729760c64f0 (diff)
downloadgit-89b5f1d9c5e64c9e232fa1ebe0ea407c8773b79a.tar.gz
git-89b5f1d9c5e64c9e232fa1ebe0ea407c8773b79a.tar.xz
sequencer: export commit_list_append()
This function can be used in other parts of git. Give it a new home in commit.c. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 f8d250d6f..bd17770e8 100644
--- a/commit.h
+++ b/commit.h
@@ -53,6 +53,8 @@ int find_commit_subject(const char *commit_buffer, const char **subject);
struct commit_list *commit_list_insert(struct commit *item,
struct commit_list **list);
+struct commit_list **commit_list_append(struct commit *commit,
+ struct commit_list **next);
unsigned commit_list_count(const struct commit_list *l);
struct commit_list *commit_list_insert_by_date(struct commit *item,
struct commit_list **list);