summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-09-30 07:19:14 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-09-30 07:24:28 +0200
commit3b6534b80768e8751b398cd3aeffb888e374c8d4 (patch)
treec373d53f835a8f868477cd03721a674123ec1b89 /src/util.c
parent1f501a086b4a9103f5ef5540c82c57d8559f0aff (diff)
downloadlibgit2-3b6534b80768e8751b398cd3aeffb888e374c8d4.tar.gz
describe: split into gather and format steps
Instead of printing out to the buffer inside the information-gathering phase, write the data to a intermediate result structure. This allows us to split the options into gathering options and formatting options, simplifying the gathering code.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions