about summary refs log tree commit diff
path: root/gen-version.sh
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2015-03-03 13:00:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 16:47:30 +0100
commit936295c4e4de8da83701c67377a911a0aefbcbd6 (patch)
tree8a7d0f56bc0faaca7f68eab0037bb2bb7dd4579c /gen-version.sh
parentgit: update to v2.3.1 (diff)
downloadcgit-pink-936295c4e4de8da83701c67377a911a0aefbcbd6.tar.gz
cgit-pink-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 'gen-version.sh')
0 files changed, 0 insertions, 0 deletions
>June McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe