Adjust to oid -> id

This commit is contained in:
Carlos Martín Nieto 2014-02-26 15:22:48 +01:00
parent 1e01cae286
commit 14f902afed
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ type IndexEntry struct {
Uid uint
Gid uint
Size uint
Oid *Oid
Id *Oid
Path string
}
@ -73,7 +73,7 @@ func newIndexEntryFromC(entry *C.git_index_entry) *IndexEntry {
uint(entry.uid),
uint(entry.gid),
uint(entry.file_size),
newOidFromC(&entry.oid),
newOidFromC(&entry.id),
C.GoString(entry.path),
}
}