Skip to content

Commit 2b4d53a

Browse files
committed
test1
1 parent 18b5b7a commit 2b4d53a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/git/repo_commit_nogogit.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (repo *Repository) ResolveReference(name string) (string, error) {
3636

3737
// GetRefCommitID returns the last commit ID string of given reference (branch or tag).
3838
func (repo *Repository) GetRefCommitID(name string) (string, error) {
39-
batch, cancel, err := repo.CatFileBatch(repo.Ctx, true)
39+
batch, cancel, err := repo.CatFileBatch(repo.Ctx, false) // test
4040
if err != nil {
4141
return "", err
4242
}
@@ -67,7 +67,7 @@ func (repo *Repository) IsCommitExist(name string) bool {
6767
}
6868

6969
func (repo *Repository) getCommit(id ObjectID) (*Commit, error) {
70-
batch, cancel, err := repo.CatFileBatch(repo.Ctx, true)
70+
batch, cancel, err := repo.CatFileBatch(repo.Ctx, false) // test
7171
if err != nil {
7272
return nil, err
7373
}
@@ -151,7 +151,7 @@ func (repo *Repository) ConvertToGitID(commitID string) (ObjectID, error) {
151151
}
152152
}
153153

154-
batch, cancel, err := repo.CatFileBatch(repo.Ctx, true)
154+
batch, cancel, err := repo.CatFileBatch(repo.Ctx, false) // test
155155
if err != nil {
156156
return nil, err
157157
}

0 commit comments

Comments
 (0)