]> source.dussan.org Git - gitea.git/commit
Avoid re-issuing redundant cross-references. (#8734)
authorguillep2k <18600385+guillep2k@users.noreply.github.com>
Mon, 18 Nov 2019 23:43:03 +0000 (20:43 -0300)
committerLauris BH <lauris@nix.lv>
Mon, 18 Nov 2019 23:43:03 +0000 (01:43 +0200)
commit2c2b9718e6f13dfa14b0ff8aafb15cfa1d85bc0e
tree154ad04abab829611351291ad73e86975dbe7f6a
parentf128e06ea608f07f279baa5c3e934b020fa57682
Avoid re-issuing redundant cross-references. (#8734)

* Avoid re-issuing redundant cross-references.

* Remove unused func; fix lint

* Simplify code as suggested by @laftriks

* Update test
models/issue.go
models/issue_comment.go
models/issue_xref.go
models/issue_xref_test.go