summaryrefslogtreecommitdiff
path: root/t/t4013/diff.format-patch_--stdout_initial..master
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-11-15 18:00:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-16 11:12:51 +0900
commit4dbc59a4cce418ff8428a9d2ecd67c34ca50db56 (patch)
tree5e8c2f450d9c8c705838cb47d33753c832bf3db8 /t/t4013/diff.format-patch_--stdout_initial..master
parentbuiltin/describe.c: print debug statements earlier (diff)
downloadtgif-4dbc59a4cce418ff8428a9d2ecd67c34ca50db56.tar.xz
builtin/describe.c: factor out describe_commit
Factor out describing commits into its own function `describe_commit`, which will put any output to stdout into a strbuf, to be printed afterwards. As the next patch will teach Git to describe blobs using a commit and path, this refactor will make it easy to reuse the code describing commits. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions