diff options
author | Jeff King <peff@peff.net> | 2011-09-07 13:44:56 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-08 13:52:00 -0700 |
commit | 7f6e275bc003e04fca63ae1058bb665078f72d7e (patch) | |
tree | f33c7d6fc07c0351a39f461305e4cf056e590b12 /t/t9161/branches.dump | |
parent | for-each-ref: refactor subject and body placeholder parsing (diff) | |
download | tgif-7f6e275bc003e04fca63ae1058bb665078f72d7e.tar.xz |
for-each-ref: handle multiline subjects like --pretty
Generally the format of a git tag or commit message is:
subject
body body body
body body body
However, we occasionally see multiline subjects like:
subject
with multiple
lines
body body body
body body body
The rest of git treats these multiline subjects as something
to be concatenated and shown as a single line (e.g., "git
log --pretty=format:%s" will do so since f53bd74). For
consistency, for-each-ref should do the same with its
"%(subject)".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9161/branches.dump')
0 files changed, 0 insertions, 0 deletions