aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-17 18:51:47 -0700
committerJunio C Hamano <gitster@pobox.com>2012-10-17 22:42:40 -0700
commitddf333f66cb8b8647a40e5d39731eaf63ee9fd44 (patch)
treecae4a18b3024dc5c4330e6b8b923d3915fa161e3 /commit.h
parent76141e2e6280101362c3c5ddb22699b6f0458100 (diff)
downloadgit-ddf333f66cb8b8647a40e5d39731eaf63ee9fd44.tar.gz
git-ddf333f66cb8b8647a40e5d39731eaf63ee9fd44.tar.xz
pretty: prepare notes message at a centralized place
Instead of passing a boolean show_notes around, pass an optional string that is to be inserted after the log message proper is shown. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index a822af8c8..7b43e4501 100644
--- a/commit.h
+++ b/commit.h
@@ -86,7 +86,7 @@ struct pretty_print_context {
enum date_mode date_mode;
unsigned date_mode_explicit:1;
int need_8bit_cte;
- int show_notes;
+ char *notes_message;
struct reflog_walk_info *reflog_info;
const char *output_encoding;
};