aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/signature.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/signature.go')
-rw-r--r--modules/git/signature.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/git/signature.go b/modules/git/signature.go
index e6ab247fd7..3f67bceb09 100644
--- a/modules/git/signature.go
+++ b/modules/git/signature.go
@@ -1,4 +1,5 @@
// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
@@ -8,14 +9,12 @@ import (
"bytes"
"strconv"
"time"
+
+ "gopkg.in/src-d/go-git.v4/plumbing/object"
)
// Signature represents the Author or Committer information.
-type Signature struct {
- Email string
- Name string
- When time.Time
-}
+type Signature = object.Signature
const (
// GitTimeLayout is the (default) time layout used by git.