Skip to content

Commit 3c02b51

Browse files
committed
formatting
1 parent 24f15da commit 3c02b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (repo *Repository) GetTreePathLatestCommit(refName, treePath string) (*Comm
7878
}
7979

8080
// rev-parse parses the output of `git rev-parse` command
81-
func (repo *Repository) RevParse(ref string, file string) (string, error) {
81+
func (repo *Repository) RevParse(ref, file string) (string, error) {
8282
stdout, _, err := NewCommand("rev-parse").
8383
AddDynamicArguments(ref+":"+file).
8484
RunStdString(repo.Ctx, &RunOpts{Dir: repo.Path})

0 commit comments

Comments
 (0)