summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar Issac Trotts <issactrotts@google.com>2019-01-10 22:30:46 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-11 10:28:11 -0800
commitad6f028f067673cadadbc2219fcb0bb864300a6c (patch)
treea96a40f373ac72a0a3ea7abe19e32e32b470988f /compat
parentFirst batch after 2.20.1 (diff)
downloadtgif-ad6f028f067673cadadbc2219fcb0bb864300a6c.tar.xz
log: add %S option (like --source) to log --format
Make it possible to write for example git log --format="%H,%S" where the %S at the end is a new placeholder that prints out the ref (tag/branch) for each commit. Using %d might seem like an alternative but it only shows the ref for the last commit in the branch. Signed-off-by: Issac Trotts <issactrotts@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions