summaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-09-19 20:47:27 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-20 10:26:08 -0700
commit62e27f273d66afa996cb7aee6cdb25fbedc053f6 (patch)
tree6db6248114a17cf1fe3ff0bf6e3418bf239c0e04 /builtin-diff.c
parentgitweb: Make git_get_refs_list do work of git_get_references (diff)
downloadtgif-62e27f273d66afa996cb7aee6cdb25fbedc053f6.tar.xz
gitweb: Fix thinko in git_tags and git_heads
git_get_refs_list always return reference to list (and reference to hash which we ignore), so $taglist (in git_tags) and $headlist (in git_heads) are always defined, but @$taglist / @$headlist might be empty. Replaced incorrect "if (defined @$taglist)" with "if (@$taglist)" in git_tags and respectively in git_heads. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions