summaryrefslogtreecommitdiff
path: root/Documentation/git-describe.txt
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-11-16 02:00:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-16 02:12:51 (GMT)
commit4dbc59a4cce418ff8428a9d2ecd67c34ca50db56 (patch)
tree5e8c2f450d9c8c705838cb47d33753c832bf3db8 /Documentation/git-describe.txt
parentcdaed0cf023a47cae327671fae11c10d88100ee7 (diff)
downloadgit-4dbc59a4cce418ff8428a9d2ecd67c34ca50db56.zip
git-4dbc59a4cce418ff8428a9d2ecd67c34ca50db56.tar.gz
git-4dbc59a4cce418ff8428a9d2ecd67c34ca50db56.tar.bz2
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 'Documentation/git-describe.txt')
0 files changed, 0 insertions, 0 deletions