summaryrefslogtreecommitdiff
path: root/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'index.go')
-rw-r--r--index.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/index.go b/index.go
index 90a49de..2bf3d04 100644
--- a/index.go
+++ b/index.go
@@ -18,7 +18,6 @@ type Index struct {
}
type IndexEntry struct {
- ptr *C.git_index_entry
Ctime time.Time
Mtime time.Time
Mode uint
@@ -68,7 +67,6 @@ func (v *Index) EntryCount() uint {
func newIndexEntryFromC(entry *C.git_index_entry) *IndexEntry {
return &IndexEntry{
- entry,
time.Unix(int64(entry.ctime.seconds), int64(entry.ctime.nanoseconds)),
time.Unix(int64(entry.mtime.seconds), int64(entry.mtime.nanoseconds)),
uint(entry.mode),