summaryrefslogtreecommitdiff
path: root/builtin-checkout.c
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2008-09-25 01:10:54 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-09-24 17:02:05 -0700
commit85cf643f1b17ee5680ae816eb061f569b4e00478 (patch)
treef7536d9b7505a550da2737a537157d42a798c7f6 /builtin-checkout.c
parentgit-stash.sh: don't default to refs/stash if invalid ref supplied (diff)
downloadtgif-85cf643f1b17ee5680ae816eb061f569b4e00478.tar.xz
for-each-ref: Fix --format=%(subject) for log message without newlines
'git for-each-ref --format=%(subject)' currently returns an empty string if the log message does not contain a newline. This patch teaches 'git for-each-ref' to return the entire log message (instead of an empty string) if there is no newline in the log message. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-checkout.c')
0 files changed, 0 insertions, 0 deletions