From: Jakub Narebski Date: Sat, 23 Feb 2008 21:37:08 +0000 (+0100) Subject: gitweb: Fix bugs in git_search_grep_body: it's length(), not len() X-Git-Tag: v1.5.5-rc0~159 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9d561ad324fc8942919981f2c80360e22896989c?hp=9d561ad324fc8942919981f2c80360e22896989c gitweb: Fix bugs in git_search_grep_body: it's length(), not len() Use int(/2) to get integer value for a substring length. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---