diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2023-09-16 19:42:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 17:42:34 +0000 |
commit | ed64f1c2b835bf9332bf8347be9675ef29c8274b (patch) | |
tree | d549801f35652496808d7307403f86e2f3f1ff39 /options/locale/locale_en-US.ini | |
parent | c766140dad3408048ad843d0e7b4ab5d9f5777c6 (diff) | |
download | gitea-ed64f1c2b835bf9332bf8347be9675ef29c8274b.tar.gz gitea-ed64f1c2b835bf9332bf8347be9675ef29c8274b.zip |
Support `.git-blame-ignore-revs` file (#26395)
Closes #26329
This PR adds the ability to ignore revisions specified in the
`.git-blame-ignore-revs` file in the root of the repository.
![grafik](https://github.com/go-gitea/gitea/assets/1666336/9e91be0c-6e9c-431c-bbe9-5f80154251c8)
The banner is displayed in this case. I intentionally did not add a UI
way to bypass the ignore file (same behaviour as Github) but you can add
`?bypass-blame-ignore=true` to the url manually.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'options/locale/locale_en-US.ini')
-rw-r--r-- | options/locale/locale_en-US.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ad7d35127e..c38c9d9e46 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1007,6 +1007,8 @@ delete_preexisting = Delete pre-existing files delete_preexisting_content = Delete files in %s delete_preexisting_success = Deleted unadopted files in %s blame_prior = View blame prior to this change +blame.ignore_revs = Ignoring revisions in <a href="%s">.git-blame-ignore-revs</a>. Click <a href="%s">here to bypass</a> and see the normal blame view. +blame.ignore_revs.failed = Failed to ignore revisions in <a href="%s">.git-blame-ignore-revs</a>. author_search_tooltip = Shows a maximum of 30 users transfer.accept = Accept Transfer |