aboutsummaryrefslogtreecommitdiff
path: root/ui-commit.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2015-03-03 12:00:07 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 15:47:30 +0000
commit936295c4e4de8da83701c67377a911a0aefbcbd6 (patch)
tree8a7d0f56bc0faaca7f68eab0037bb2bb7dd4579c /ui-commit.c
parent911d574250d3a2ae97f282fb8f466db2afa1cd64 (diff)
downloadcgit-936295c4e4de8da83701c67377a911a0aefbcbd6.tar
cgit-936295c4e4de8da83701c67377a911a0aefbcbd6.tar.gz
cgit-936295c4e4de8da83701c67377a911a0aefbcbd6.zip
Simplify commit and tag parsing
* Use skip_prefix to avoid magic numbers in the code. * Use xcalloc() instead of xmalloc(), followed by manual initialization. * Split out line splitting. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-commit.c')
0 files changed, 0 insertions, 0 deletions