aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_linux.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-19 00:09:39 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-07-19 00:09:39 +0200
commit1675edbff5055189d958244b6e0ded9f5d37fe91 (patch)
tree61a73a8008e460120c7f2a6880af1d3498c8d275 /worktree_linux.go
parentae80735ce2171aff4c44313b3c27eb5ddb595385 (diff)
downloadgo-git-1675edbff5055189d958244b6e0ded9f5d37fe91.tar.gz
worktree: fix file system info in windows
Diffstat (limited to 'worktree_linux.go')
-rw-r--r--worktree_linux.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/worktree_linux.go b/worktree_linux.go
index 7209d7d..a33cd2f 100644
--- a/worktree_linux.go
+++ b/worktree_linux.go
@@ -12,7 +12,6 @@ import (
func init() {
fillSystemInfo = func(e *index.Entry, sys interface{}) {
if os, ok := sys.(*syscall.Stat_t); ok {
-
e.CreatedAt = time.Unix(int64(os.Ctim.Sec), int64(os.Ctim.Nsec))
e.Dev = uint32(os.Dev)
e.Inode = uint32(os.Ino)