mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Only display the Diff/File buttons when needed #401

Closed dregad closed 2 years ago

dregad commented 2 years ago

In some cases, it does not make any sense to display the Diff or File buttons (e.g. when a file has been deleted), and the generated target URL may be invalid (HTTP 404).