diff options
author | Luben Tuikov <ltuikov@yahoo.com> | 2006-09-28 16:47:50 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-28 18:52:26 -0700 |
commit | 6dd36acd32476a474a5b7d2ad309a82c84513abe (patch) | |
tree | f747fa8606fe375ea57b6d5f348f442a271aa036 /git-applymbox.sh | |
parent | gitweb: Add history and blame to git_difftree_body() (diff) | |
download | tgif-6dd36acd32476a474a5b7d2ad309a82c84513abe.tar.xz |
gitweb: "alternate" starts with shade (i.e. 1)
When displaying a list of rows (difftree, shortlog, etc),
the first entry is now printed shaded, i.e. alternate is
initialized to 1, as opposed to non-shaded (alternate
initialized to 0).
This solves the problem when there is only one row to
display -- it is displayed shaded to visually indicate that
it is "active", part of a "list", etc.
(Compare this to the trivial case of more than one entry,
where the rows have alternating shade, thus suggesting
being part of a "list" of "active" entries, etc.)
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-applymbox.sh')
0 files changed, 0 insertions, 0 deletions