mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-12 10:32:14 +01:00
When a commit could not be found, JGit throws a MissingObjectException. Because this extends IOException, the according catch block is executed with a log with level ERROR and the message, that the repository could not be opened. This is simply wrong. With this, we catch the MissingObjectException explicitly and simply return null.
Plugins moved see https://github.com/scm-manager/scm-manager/blob/develop/docs/scm-plugins.md for details.