mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
parse commit body to avoid npe
This commit is contained in:
@@ -161,6 +161,8 @@ public class GitHookChangesetCollector
|
|||||||
|
|
||||||
while (commit != null)
|
while (commit != null)
|
||||||
{
|
{
|
||||||
|
// parse commit body to avoid npe
|
||||||
|
walk.parseBody(commit);
|
||||||
Changeset changeset = converter.createChangeset(commit);
|
Changeset changeset = converter.createChangeset(commit);
|
||||||
|
|
||||||
List<String> branches = changeset.getBranches();
|
List<String> branches = changeset.getBranches();
|
||||||
|
|||||||
Reference in New Issue
Block a user