diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-12-02 14:57:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-02 15:28:36 -0800 |
commit | ff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced (patch) | |
tree | 102047ca50447f5f0d6f70f3668eaa9cda6856d8 /gitweb | |
parent | Merge branch 'gb/gitweb-feature' (diff) | |
download | tgif-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-x | gitweb/gitweb.perl | 4 |
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. |