diff options
author | Jakub Narebski <jnareb@gmail.com> | 2011-06-22 17:28:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-22 11:44:09 -0700 |
commit | e0ca364551fcde3b3d825f93f4a4d44d7ab9eb35 (patch) | |
tree | b98c8ce1beb765f07a006705a43eae942ca1c5f0 /daemon.c | |
parent | gitweb: 'pickaxe' and 'grep' features requires 'search' to be enabled (diff) | |
download | tgif-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