Don't ignore .txt file extension

So far, gitiles treats .txt files are if they had no extension. It
passes "null" to java-prettify which results in a default langugage
resulting in all the text turning green after an "unclosed" ' or "
character. Using txt for "*.txt" fixes the issue.

Test: Test: bazelisk build //:gitiles && tools/run_dev.sh
Bug: NA
Change-Id: I9bb4f0a2914822ba376d1028e69a9682588d008b
2 files changed
tree: e52718d3d23b99d0a3ef0cf45f2fec29caf5515c
  1. .settings/
  2. Documentation/
  3. java/
  4. javatests/
  5. lib/
  6. modules/
  7. resources/
  8. tools/
  9. .bazelrc
  10. .bazelversion
  11. .gitignore
  12. .gitmodules
  13. .mailmap
  14. BUILD
  15. COPYING
  16. fake_pom_deploy.xml
  17. navbar.md
  18. README.md
  19. version.bzl
  20. WORKSPACE
README.md

Gitiles - A simple JGit repository browser

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.

Configuration

Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.

Bugs

Use the issue tracker at github to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.