summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-11-09 12:51:06 -0500
committerJeff King <peff@peff.net>2012-11-09 12:51:06 -0500
commit19fb61369583410a4f79dbc065b4dc8125236c0b (patch)
tree7f7498d204f8df97ddc0cd6726154a0ce5fa5bb7 /commit.h
parent9d91c0e3d5d1bf9339a31ecbd5f6defdac8540d0 (diff)
parent745f7a8cacae55df3e00507344d8db2a31eb57e8 (diff)
downloadgit-19fb61369583410a4f79dbc065b4dc8125236c0b.tar.gz
Merge branch 'nd/builtin-to-libgit'
Code cleanups so that libgit.a does not depend on anything in the builtin/ directory. * nd/builtin-to-libgit: fetch-pack: move core code to libgit.a fetch-pack: remove global (static) configuration variable "args" send-pack: move core code to libgit.a Move setup_diff_pager to libgit.a Move print_commit_list to libgit.a Move estimate_bisect_steps to libgit.a Move try_merge_command and checkout_fast_forward to libgit.a
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 9f2131318d..c4cd046160 100644
--- a/commit.h
+++ b/commit.h
@@ -222,4 +222,8 @@ struct commit *get_merge_parent(const char *name);
extern int parse_signed_commit(const unsigned char *sha1,
struct strbuf *message, struct strbuf *signature);
+extern void print_commit_list(struct commit_list *list,
+ const char *format_cur,
+ const char *format_last);
+
#endif /* COMMIT_H */