diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-04-25 22:35:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-25 14:51:17 -0700 |
commit | 89b5f1d9c5e64c9e232fa1ebe0ea407c8773b79a (patch) | |
tree | ad44ef41a6a12db2bb60945fea81d514afed71fe /commit.h | |
parent | ba8e6326f16748d67fbeda65ffde4729760c64f0 (diff) | |
download | git-89b5f1d9c5e64c9e232fa1ebe0ea407c8773b79a.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |