File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,8 @@ func CompareDiff(ctx *context.Context) {
373373 return
374374 }
375375 defer headGitRepo .Close ()
376- if err := parseBaseRepoInfo (ctx , headRepo ); err != nil {
376+ var err error
377+ if err = parseBaseRepoInfo (ctx , headRepo ); err != nil {
377378 ctx .ServerError ("parseBaseRepoInfo" , err )
378379 return
379380 }
@@ -415,6 +416,11 @@ func CompareDiff(ctx *context.Context) {
415416 beforeCommitID := ctx .Data ["BeforeCommitID" ].(string )
416417 afterCommitID := ctx .Data ["AfterCommitID" ].(string )
417418
419+ if ctx .Data ["Assignees" ], err = ctx .Repo .Repository .GetAssignees (); err != nil {
420+ ctx .ServerError ("GetAssignees" , err )
421+ return
422+ }
423+
418424 ctx .Data ["Title" ] = "Comparing " + base .ShortSha (beforeCommitID ) + "..." + base .ShortSha (afterCommitID )
419425
420426 ctx .Data ["IsRepoToolbarCommits" ] = true
You can’t perform that action at this time.
0 commit comments