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/service/ref/util.go')
-rw-r--r--internal/service/ref/util.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/internal/service/ref/util.go b/internal/service/ref/util.go
index d4b1120eb..eecc0c49d 100644
--- a/internal/service/ref/util.go
+++ b/internal/service/ref/util.go
@@ -34,17 +34,19 @@ func buildLocalBranch(name []byte, target *gitalypb.GitCommit) *gitalypb.FindLoc
if author := target.Author; author != nil {
response.CommitAuthor = &gitalypb.FindLocalBranchCommitAuthor{
- Name: author.Name,
- Email: author.Email,
- Date: author.Date,
+ Name: author.Name,
+ Email: author.Email,
+ Date: author.Date,
+ Timezone: author.Timezone,
}
}
if committer := target.Committer; committer != nil {
response.CommitCommitter = &gitalypb.FindLocalBranchCommitAuthor{
- Name: committer.Name,
- Email: committer.Email,
- Date: committer.Date,
+ Name: committer.Name,
+ Email: committer.Email,
+ Date: committer.Date,
+ Timezone: committer.Timezone,
}
}