Skip to content

Commit bc79694

Browse files
committed
formatting
1 parent 765aa04 commit bc79694

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
@@ -75,7 +75,7 @@ func (repo *Repository) GetTreePathLatestCommit(refName, treePath string) (*Comm
7575
}
7676

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

0 commit comments

Comments
 (0)