Skip to content

Commit 2e39d02

Browse files
authored
Update modules/git/repo_commit.go
1 parent 3d647a5 commit 2e39d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/repo_commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (repo *Repository) CommitsByFileAndRange(revision, file string, page int) (
214214
err := NewCommand(repo.Ctx, "rev-list",
215215
"--max-count="+strconv.Itoa(setting.Git.CommitsRangeSize*page),
216216
"--skip="+strconv.Itoa(skip),
217-
"--end-of-options", "'"+revision+"'",
217+
"--end-of-options", revision,
218218
"--", file).
219219
Run(&RunOpts{
220220
Dir: repo.Path,

0 commit comments

Comments
 (0)