diff options
Diffstat (limited to 'services/repository/push.go')
-rw-r--r-- | services/repository/push.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/repository/push.go b/services/repository/push.go index fe3f32f839..11854ccb39 100644 --- a/services/repository/push.go +++ b/services/repository/push.go @@ -294,7 +294,7 @@ func pushUpdateAddTags(ctx context.Context, repo *repo_model.Repository, gitRepo if err != nil { return fmt.Errorf("GetTag: %v", err) } - commit, err := tag.Commit() + commit, err := tag.Commit(gitRepo) if err != nil { return fmt.Errorf("Commit: %v", err) } |