about summary refs log tree commit diff
path: root/filter.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2018-03-31 14:57:22 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-27 18:11:19 +0200
commitf0047d2d943788fed2666e1d20c1e0d3c16701d5 (patch)
tree05079c78cab3b64fd455698c36adc56a23e57a79 /filter.c
parentui-snapshot: filter permitted snapshot requests (diff)
downloadcgit-pink-f0047d2d943788fed2666e1d20c1e0d3c16701d5.tar.gz
cgit-pink-f0047d2d943788fed2666e1d20c1e0d3c16701d5.zip
ui-refs: remove unnecessary sanity check
There is no way for refinfo::refname to be null, and Git will prevent
zero-length refs so this check is unnecessary.

Signed-off-by: John Keeping <john@keeping.me.uk>
Reviewed-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'filter.c')
0 files changed, 0 insertions, 0 deletions
='/src/commit/bin/man1/hi.1?id=686ce24e9a67b42765ff5638e1d747c8ea82343d&follow=1'>Add line numbers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe