diff options
Diffstat (limited to 'internal/git/localrepo/refs.go')
-rw-r--r-- | internal/git/localrepo/refs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/localrepo/refs.go b/internal/git/localrepo/refs.go index 492609d7a..2ba1d988d 100644 --- a/internal/git/localrepo/refs.go +++ b/internal/git/localrepo/refs.go @@ -170,7 +170,7 @@ func (repo *Repo) SetDefaultBranch(ctx context.Context, txManager transaction.Ma return repo.setDefaultBranchWithTransaction(ctx, txManager, reference) } -// setDefaultBranchWithTransaction sets the repostory's HEAD to point to the given reference +// setDefaultBranchWithTransaction sets the repository's HEAD to point to the given reference // using a safe locking file writer and commits the transaction if one exists in the context func (repo *Repo) setDefaultBranchWithTransaction(ctx context.Context, txManager transaction.Manager, reference git.ReferenceName) error { valid, err := git.CheckRefFormat(ctx, repo.gitCmdFactory, reference.String()) |