]> source.dussan.org Git - gitea.git/commit
Ensure default gpg settings not nil and found commits have reference to repo (#8604)
authorzeripath <art27@cantab.net>
Sun, 20 Oct 2019 22:26:36 +0000 (23:26 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Oct 2019 22:26:36 +0000 (23:26 +0100)
commit28f60bb5cb24c71fdbefe16c2d86943fb4cf8a08
tree5c543277fa4d760dc3086e843adada56cc1ad06d
parentc8f3146cd52887c0bdd815ad0bdeb954b242c8fc
Ensure default gpg settings not nil and found commits have reference to repo (#8604)

* Ensure defaultGPGSettings not nil

* Ensure that coerced commits gain a reference to the repo

* Add warning if trying to get defaultgpgsetting on an unattached commit
models/gpg_key.go
modules/git/commit_info.go