summaryrefslogtreecommitdiffstats
path: root/modules/git/signature_gogit.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/signature_gogit.go')
-rw-r--r--modules/git/signature_gogit.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/git/signature_gogit.go b/modules/git/signature_gogit.go
new file mode 100644
index 00000000..1fc6aabc
--- /dev/null
+++ b/modules/git/signature_gogit.go
@@ -0,0 +1,14 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2019 The Gitea Authors. All rights reserved.
+// SPDX-License-Identifier: MIT
+
+//go:build gogit
+
+package git
+
+import (
+ "github.com/go-git/go-git/v5/plumbing/object"
+)
+
+// Signature represents the Author or Committer information.
+type Signature = object.Signature