commit | 0243bf189d27c1d7f09f4cf06efe01835c5dec1e | [log] [tgz] |
---|---|---|
author | Ivan Frade <ifrade@google.com> | Tue Feb 12 14:03:10 2019 -0800 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Nov 28 11:15:31 2019 +0900 |
tree | 6a42886f0e15e6df788cfbe720edda88b94b2c74 | |
parent | 4f88b8ba9fc9c8d3526036eaf8c2e2645b57f207 [diff] |
RefServlet: Use full refname in link The servlet is checking whether the shortname of each reference expands to some other refname so that it can make a short link that points to the right target. For example, "refs/heads/foo" can be linked as "test/+/foo" instead of "test/+/refs/heads/foo" when there is no other expansion for "foo". It is nice to have a short, comprehensible URL that the user can manipulate. However, this check is expensive, specially when there are many branches and tags. Always use full reference names in the links. It is barely noticeable to the user and speeds up page generation. Note that the short links are still valid. They are just not shown in this page. Change-Id: I1b6a15b3f584e85c56c08e31a24cdddc3129d883
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md
Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config
. Refer to the configuration documentation for details.
Use the issue tracker at github to file bugs.
Please refer to the Developer Guide.