aboutsummaryrefslogtreecommitdiff
path: root/ident.go
diff options
context:
space:
mode:
Diffstat (limited to 'ident.go')
-rw-r--r--ident.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/ident.go b/ident.go
index b5cb38b2..50676a45 100644
--- a/ident.go
+++ b/ident.go
@@ -12,9 +12,14 @@ import (
// Ident represents a Git identity (author/committer/tagger).
type Ident struct {
- Name []byte
- Email []byte
- WhenUnix int64
+ // Name represents the person's name.
+ Name []byte
+ // Email represents the person's email.
+ Email []byte
+ // WhenUnix represents the timestamp as a Unix time.
+ // This value is in UTC.
+ WhenUnix int64
+ // The timezone offset in minutes.
OffsetMinutes int32
}