Skip to content

Commit d5d6912

Browse files
committed
improve readability
1 parent 2c5ea4c commit d5d6912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ func viewPullFiles(ctx *context.Context, specifiedStartCommit, specifiedEndCommi
747747
}
748748

749749
if willShowSpecifiedCommit {
750-
// Attempt to extract parent commit when viewing diff of a specific commit
750+
// Attempt to extract parent of endCommit commit when viewing diff of a specific commit
751751
// instead of showing the entire diff-tree from the merge base.
752752
// This is mostly for the GetDiffTree() call
753753
endCommit, err := gitRepo.GetCommit(endCommitID)

0 commit comments

Comments
 (0)