author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 23 Feb 2008 21:37:08 +0000 (22:37 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 Feb 2008 22:22:01 +0000 (14:22 -0800) | ||
commit | 9d561ad324fc8942919981f2c80360e22896989c | |
tree | 564a936c79c317455045e53971abf2237df76bc3 | tree | snapshot |
parent | 923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c | commit | diff |
gitweb: Fix bugs in git_search_grep_body: it's length(), not len()
Use int(<expr>/2) to get integer value for a substring length.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use int(<expr>/2) to get integer value for a substring length.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |