commit | b911eb36af394d49c4bfaf6de522ff6544d650c3 | [log] [download] |
---|---|---|
author | Jonathan Nieder <jrn@google.com> | Wed Aug 16 00:42:59 2023 +0000 |
committer | Jonathan Nieder <jrn@google.com> | Wed Aug 16 00:46:51 2023 +0000 |
tree | 5a36952d593b14e6e77cfe602f2c82af6497e229 | |
parent | 9395244c06988ee7e077045a12d9cbc2e8d21d5a [diff] |
Revert "Add parents field to logEntry soy data for use in custom templates" This reverts commit f1112ac7b9f4ffd31fc35a9832b15b5fcac4faca. It throws an exception on the repository index page due to lacking the revision information needed to render the diff field in a RevCommit: ``` com.google.gitiles.GitilesView$InvalidViewException: missing revision on DIFF view at com.google.gitiles.GitilesView$Builder.checkView(GitilesView.java:379) at com.google.gitiles.GitilesView$Builder.checkRevision(GitilesView.java:402) at com.google.gitiles.GitilesView$Builder.checkPath(GitilesView.java:416) at com.google.gitiles.GitilesView$Builder.checkDiff(GitilesView.java:407) at com.google.gitiles.GitilesView$Builder.build(GitilesView.java:344) at com.google.gitiles.GitilesView$Builder.toUrl(GitilesView.java:374) at com.google.gitiles.CommitSoyData.toSoyData(CommitSoyData.java:195) at com.google.gitiles.CommitSoyData.toSoyData(CommitSoyData.java:120) at com.google.gitiles.LogSoyData.toEntrySoyData(LogSoyData.java:138) at com.google.gitiles.LogSoyData.renderStreaming(LogSoyData.java:105) at com.google.gitiles.RepositoryIndexServlet.doGetHtml(RepositoryIndexServlet.java:136) ``` Bug: Google b/296133417 Change-Id: I26f68e05755ac28d6688b1ba8610e16bceaecec5
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.