summaryrefslogtreecommitdiff
path: root/doc/bugs/__96__git_annex_import__96___clobbers_mtime.mdwn
blob: 7edebe584b509959d513952326a6acf1e6ec3c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
### Please describe the problem.

mtimes are clobbered with what I think is the time of the first time `git annex` saw a file in that directory on all files which are `git annex import`ed.


### What steps will reproduce the problem?

    richih@eudyptes (git)-[master] ~/killme/target % date; stat ../source/*; date; git annex import ../source/*; date; stat *; date
    Tue Jul 30 01:41:43 CEST 2013
      File: ‘../source/foo’
      Size: 0           Blocks: 0          IO Block: 4096   regular empty file
    Device: 804h/2052d  Inode: 110095      Links: 1
    Access: (0644/-rw-r--r--)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
    Access: 2013-07-30 01:41:03.860703428 +0200
    Modify: 2013-07-30 01:41:03.860703428 +0200
    Change: 2013-07-30 01:41:03.860703428 +0200
     Birth: -
      File: ‘../source/foobar’
      Size: 0           Blocks: 0          IO Block: 4096   regular empty file
    Device: 804h/2052d  Inode: 110104      Links: 1
    Access: (0644/-rw-r--r--)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
    Access: 2013-07-30 01:41:05.512703349 +0200
    Modify: 2013-07-30 01:41:05.512703349 +0200
    Change: 2013-07-30 01:41:05.512703349 +0200
     Birth: -
    Tue Jul 30 01:41:43 CEST 2013
    import foo (checksum...) ok
    import foobar (checksum...) ok
    (Recording state in git...)
    Tue Jul 30 01:41:43 CEST 2013
      File: ‘foo’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
      Size: 178         Blocks: 8          IO Block: 4096   symbolic link
    Device: 804h/2052d  Inode: 268638577   Links: 1
    Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
    Access: 2013-07-30 01:41:43.704701516 +0200
    Modify: 2013-07-30 01:19:41.000000000 +0200
    Change: 2013-07-30 01:41:43.700701516 +0200
     Birth: -
      File: ‘foobar’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
      Size: 178         Blocks: 8          IO Block: 4096   symbolic link
    Device: 804h/2052d  Inode: 268774374   Links: 1
    Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
    Access: 2013-07-30 01:41:43.704701516 +0200
    Modify: 2013-07-30 01:19:41.000000000 +0200
    Change: 2013-07-30 01:41:43.700701516 +0200
     Birth: -
    Tue Jul 30 01:41:43 CEST 2013
    richih@eudyptes (git)-[master] ~/killme/target %


### What version of git-annex are you using? On what operating system?

    git-annex version: 4.20130709
    build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP
    local repository version: 3
    default repository version: 3
    supported repository versions: 3 4
    upgrade supported from repository versions: 0 1 2

Debian unstable amd64

> [[fixed|done]] --[[Joey]]