summaryrefslogtreecommitdiff
path: root/reflog-walk.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-16 11:40:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-16 21:00:15 (GMT)
commitcd1957f5fc6ecc5ae557246126d9e74c029ccd61 (patch)
tree0efe0b7c1d87b3c038fd55696a53a2a76db30148 /reflog-walk.h
parent7b6c5836cf02999955b68c79f1cf2d13040acbc3 (diff)
downloadgit-cd1957f5fc6ecc5ae557246126d9e74c029ccd61.zip
git-cd1957f5fc6ecc5ae557246126d9e74c029ccd61.tar.gz
git-cd1957f5fc6ecc5ae557246126d9e74c029ccd61.tar.bz2
pretty: give placeholders to reflog identity
When doing a reflog walk, you can get some information about the reflog (such as the subject line), but not the identity information (i.e., name and email). Let's make those available, mimicing the options for author and committer identity. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.h')
-rw-r--r--reflog-walk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/reflog-walk.h b/reflog-walk.h
index 7bd2cd4..afb1ae3 100644
--- a/reflog-walk.h
+++ b/reflog-walk.h
@@ -14,6 +14,7 @@ extern void show_reflog_message(struct reflog_walk_info *info, int,
enum date_mode);
extern void get_reflog_message(struct strbuf *sb,
struct reflog_walk_info *reflog_info);
+extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
extern void get_reflog_selector(struct strbuf *sb,
struct reflog_walk_info *reflog_info,
enum date_mode dmode,