summaryrefslogtreecommitdiff
path: root/reflog-walk.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-07 14:11:32 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-07 14:18:06 -0700
commit55ccf85a524f6a2d8cb5582d80a2927ff11dfb64 (patch)
tree1547dcd5e1f48f8427b9b6f11413aab48276e5a9 /reflog-walk.h
parent794151e9b595ddc2700c0801caabfd27be763e12 (diff)
downloadgit-55ccf85a524f6a2d8cb5582d80a2927ff11dfb64.tar.gz
reflog-walk: tell explicit --date=default from not having --date at all
Introduction of opt->date_mode_explicit was a step in the right direction, but lost that crucial bit at the very end of the callchain, and the callee could not tell an explicitly specified "I want *date* but in default format" from the built-in default value passed when there was no --date specified. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.h')
-rw-r--r--reflog-walk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/reflog-walk.h b/reflog-walk.h
index 7bd2cd4c4e..3adccb018b 100644
--- a/reflog-walk.h
+++ b/reflog-walk.h
@@ -11,12 +11,12 @@ extern int add_reflog_for_walk(struct reflog_walk_info *info,
extern void fake_reflog_parent(struct reflog_walk_info *info,
struct commit *commit);
extern void show_reflog_message(struct reflog_walk_info *info, int,
- enum date_mode);
+ enum date_mode, int force_date);
extern void get_reflog_message(struct strbuf *sb,
struct reflog_walk_info *reflog_info);
extern void get_reflog_selector(struct strbuf *sb,
struct reflog_walk_info *reflog_info,
- enum date_mode dmode,
+ enum date_mode dmode, int force_date,
int shorten);
#endif