|author||Ronald Bhuleskar <email@example.com>||Fri Nov 19 15:24:51 2021 -0800|
|committer||Ronald Bhuleskar <firstname.lastname@example.org>||Fri Nov 19 15:56:37 2021 -0800|
Support branch redirecting from a deleted or non-existent branch to HEAD. BranchRedirectFilter uses the ViewFilter to obtain the GitilesView. The GitilesView is not created for a deleted branch. This causes `BranchRedirectFilter to not redirect as expected. Since branch redirect is used primarily to migrate from master to main, and master to be eventually deleted. HEAD would be set to main since master is being deleted. This makes HEAD a correct place to redirect to. PiperOrigin-RevId: 411156730 Change-Id: I4193a86d36e3d46cb19abf9c7b52a94b1feef5c1
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.