Skip to content
/ gitea Public
  • Sponsor go-gitea/gitea

  • Notifications You must be signed in to change notification settings
  • Fork 5.8k
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc79694

Browse files
committedMay 13, 2025·
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)
Please sign in to comment.