filesystem - Changes in files cannot be detected - Ask Ubuntu
it has been long time, on laptop, git or megasync cannot detect change on files. see new files, not changed files. filesystem mounted as: /dev/mapper/vgroot-lvroot on / type btrfs (rw,relatime,ssd,space_cache,subvolid=523,subvol=/@root)
/tmp$ mkdir test; cd test /tmp/test$ git init initialized empty git repository in /tmp/test/.git/ /tmp/test$ touch /tmp/test$ git stage /tmp/test$ git commit -a -m 'a' [master (root-commit) ea2464b] 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 /tmp/test$ stat file: 'a' size: 0 blocks: 0 io block: 4096 regular empty file device: 17h/23d inode: 12931371 links: 1 access: (0644/-rw-r--r--) uid: (something) gid: (something) access: 2016-11-07 19:55:44.945089596 +0800 modify: 2016-11-07 19:55:44.945089596 +0800 change: 2016-11-07 19:55:44.945089596 +0800 birth: - /tmp/test$ vim /tmp/test$ stat file: 'a' size: 4 blocks: 8 io block: 4096 regular file device: 17h/23d inode: 12931371 links: 1 access: (0644/-rw-r--r--) uid: (something) gid: (something) access: 2016-11-07 19:56:04.804211299 +0800 modify: 2016-11-07 19:56:06.980224918 +0800 change: 2016-11-07 19:56:06.985224949 +0800 birth: - /tmp/test$ git status on branch master nothing commit, working tree clean
Comments
Post a Comment