about summary refs log tree commit diff
path: root/cache.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-04-06 23:39:08 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-08 15:45:34 +0200
commit4b4a62d507adc61e20e75e2748301ef307a6c95f (patch)
tree36846dbdab0e714db54d9f6949ee0a605046b87c /cache.c
parentui-refs.c: Remove global header variable (diff)
downloadcgit-pink-4b4a62d507adc61e20e75e2748301ef307a6c95f.tar.gz
cgit-pink-4b4a62d507adc61e20e75e2748301ef307a6c95f.zip
ui-refs.c: Refactor print_tag()
The code snippets for OBJ_TAG and other object types are almost
equivalent. Merge them and use a couple of inline if conditions to
select proper fields.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'cache.c')
0 files changed, 0 insertions, 0 deletions
'>2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe