diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-10-17 19:02:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-17 22:42:40 -0700 |
commit | 5a664cf2c76ed83166f5f3ce7385e3cb058e8834 (patch) | |
tree | d6586d0246e652c4c7909b8bbe7e196d99a40bc9 /pack-refs.h | |
parent | pretty: prepare notes message at a centralized place (diff) | |
download | tgif-5a664cf2c76ed83166f5f3ce7385e3cb058e8834.tar.xz |
pretty_print_commit(): do not append notes message
The only case pretty_print_commit() appends notes message to the log
message taken from the commit is when show_log() calls it with the
notes_message field set, and the output format is not the userformat
(i.e. when substituting "%N"). No other users of this function sets
this field in the pretty_print_context, as can be easily verified in
the previous step.
Hoist the code to append the notes message to the caller.
Up to this point, no functionality change is intended.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-refs.h')
0 files changed, 0 insertions, 0 deletions