summaryrefslogtreecommitdiff
path: root/ls-refs.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2018-07-22 05:57:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-23 12:50:06 -0700
commit3fcc7a23a0b76bdac07b605a6afd6084ac543821 (patch)
tree6108e8afe1997f503b22d68d84535e850be0c742 /ls-refs.c
parentinterdiff: teach show_interdiff() to indent interdiff (diff)
downloadtgif-3fcc7a23a0b76bdac07b605a6afd6084ac543821.tar.xz
log-tree: show_log: make commentary block delimiting reusable
In patches generated by git-format-patch, the area below the "---" line following the commit message and before the actual 'diff' can be used for commentary which the patch author wants to convey to readers of the patch itself but not include in the commit message proper. By default, the commentary area is empty, however, the --notes option causes it to be populated with notes associated with the commit. In the future, other options may be added which also insert content into the commentary section. To accommodate this, factor out the logic which delimits commentary blocks from the commit message so that it can be re-used for upcoming optional inserted content. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ls-refs.c')
0 files changed, 0 insertions, 0 deletions