summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2011-06-22 17:28:52 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-22 11:44:09 -0700
commite0ca364551fcde3b3d825f93f4a4d44d7ab9eb35 (patch)
treeb98c8ce1beb765f07a006705a43eae942ca1c5f0 /daemon.c
parentgitweb: 'pickaxe' and 'grep' features requires 'search' to be enabled (diff)
downloadtgif-e0ca364551fcde3b3d825f93f4a4d44d7ab9eb35.tar.xz
gitweb: Check permissions first in git_search
Check first if relevant features: 'search', 'pickaxe', 'grep', as appropriate, are enabled before doing anything else in git_search. This should make git_search code more clear. While at it, expand a bit error message (e.g. 'Pickaxe' -> 'Pickaxe search'). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
0 files changed, 0 insertions, 0 deletions