aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/__96__git_annex_import__96___clobbers_mtime/comment_2_3563d9eeb9806f8ca1b9b340925837f5._comment
blob: 842c713df662429f3d465bb7f6cc98fbac6e021e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="4.154.0.21"
 subject="comment 2"
 date="2013-07-30T17:40:04Z"
 content="""
git-annex makes only a best-effort attempt to preserve mtime. There are multiple cases where it cannot:

* filesystems that do not support changing the mtime of a symlink
* special remotes
* when 2 files with the same content get stored in the annex, the mtime of one must win over the other since we only have 1 inode

This last seems to be what has happened in the example you show. Both `foo` and `foobar` are empty. I'm not sure where the 01:19:41 time came from -- perhaps you had a third empty file that was not shown?

I've tested `git annex import` and it preserves mtimes otherwise.


"""]]