forgejo/routers
KN4CK3R ed64f1c2b8
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>
2023-09-16 17:42:34 +00:00
..
api Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
common Extract auth middleware from service (#27028) 2023-09-12 08:15:16 +02:00
install Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
private Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Support .git-blame-ignore-revs file (#26395) 2023-09-16 17:42:34 +00:00
init.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00