From cd1957f5fc6ecc5ae557246126d9e74c029ccd61 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Fri, 16 Dec 2011 06:40:24 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- reflog-walk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'reflog-walk.h') diff --git a/reflog-walk.h b/reflog-walk.h index 7bd2cd4c4e..afb1ae3fde 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, -- cgit v1.2.3