Re: [PATCH] gitweb: Adding a `blame' interface.
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Jun 12, 2006, 08:40 UTC
- Message-ID
- <20060612084056.GA29220@spearce.org>
- In-Reply-To
- <46a038f90606120134n21c269bbj3e8c7e31d4d93a23@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 6 quoted lines
> >- If `GIT_DIR/description' is only used by gitweb it may be more > > consistent to use the git-repo-config option `gitweb.description' in > > the future. > > Not sure how git-repo configurations deal with long entries. Right now > the description may contain html for instance.
It has to be escaped, which could be ugly with HTML. For example:
[gitweb]
description=<div class=\"description\">\n\
This is a chunk of text which describes this repository. Some\n\
of this text might be rather long, and might need many lines to\n\
really be able to describe the repository in a nice editor such as\n\
vi running in an 80 character wide xterm.\n\
</div>Forget a \ in front of a double quote (") or an LF and the entry is corrupt. So as nice as it sounds it might not be the best way to obtain a description for gitweb.
-- Shawn.