aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-12-02 14:57:28 -0800
committerJunio C Hamano <gitster@pobox.com>2008-12-02 15:28:36 -0800
commitff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced (patch)
tree102047ca50447f5f0d6f70f3668eaa9cda6856d8 /gitweb
parentdcbe0bd0d4f68735e4a8809dc9fc597ce6502a8e (diff)
downloadgit-ff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced.tar.gz
git-ff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced.tar.xz
Update comment on gitweb_check/get_feature
This is taken from a patch from Giuseppe but unfortunately it came too late to replace the series that was already on "next". The comment he updated here is better than the version we had previously, so I am cherry-picking this bit not to lose it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index acc4cfdcd..273864395 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -190,7 +190,9 @@ our %feature = (
# if there is no 'sub' key (no feature-sub), then feature cannot be
# overriden
#
- # use gitweb_check_feature(<feature>) to check if <feature> is enabled
+ # use gitweb_get_feature(<feature>) to retrieve the <feature> value
+ # (an array) or gitweb_check_feature(<feature>) to check if <feature>
+ # is enabled
# Enable the 'blame' blob view, showing the last commit that modified
# each line in the file. This can be very CPU-intensive.