summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-12-02 14:57:28 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-02 15:28:36 -0800
commitff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced (patch)
tree102047ca50447f5f0d6f70f3668eaa9cda6856d8
parentMerge branch 'gb/gitweb-feature' (diff)
downloadtgif-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>
-rwxr-xr-xgitweb/gitweb.perl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index acc4cfdcda..2738643950 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.