Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/service/operations/revert.go')
-rw-r--r--internal/gitaly/service/operations/revert.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gitaly/service/operations/revert.go b/internal/gitaly/service/operations/revert.go
index 90d03a7dd..98efe8e84 100644
--- a/internal/gitaly/service/operations/revert.go
+++ b/internal/gitaly/service/operations/revert.go
@@ -199,7 +199,7 @@ func (s *Server) UserRevert(ctx context.Context, req *gitalypb.UserRevertRequest
// housekeeping.
func (s *Server) writeCommitWithEmptyTree(ctx context.Context, quarantineRepo *localrepo.Repo) (git.ObjectID, error) {
const fakeName = "GitLab Bot"
- const fakcEmail = "gitlab-bot@gitlab.com"
+ const fakeEmail = "gitlab-bot@gitlab.com"
fakeDate := time.Unix(694540800, 0).UTC()
hash, err := quarantineRepo.ObjectHash(ctx)
@@ -209,10 +209,10 @@ func (s *Server) writeCommitWithEmptyTree(ctx context.Context, quarantineRepo *l
return quarantineRepo.WriteCommit(ctx, localrepo.WriteCommitConfig{
AuthorName: fakeName,
- AuthorEmail: fakcEmail,
+ AuthorEmail: fakeEmail,
AuthorDate: fakeDate,
CommitterName: fakeName,
- CommitterEmail: fakcEmail,
+ CommitterEmail: fakeEmail,
CommitterDate: fakeDate,
TreeID: hash.EmptyTreeOID,
})