]> git.cameronkatri.com Git - cgit.git/commit
ui-refs: remove unnecessary sanity check
authorJohn Keeping <john@keeping.me.uk>
Sat, 31 Mar 2018 13:57:22 +0000 (14:57 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 27 Jun 2018 16:11:19 +0000 (18:11 +0200)
commitf0047d2d943788fed2666e1d20c1e0d3c16701d5
tree05079c78cab3b64fd455698c36adc56a23e57a79
parent00ad47bbfaf7cc5c372e072a5302e871b5250390
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>
ui-refs.c