Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
71d5516125
2 changed files with 28 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="bz4"
|
||||
avatar="http://cdn.libravatar.org/avatar/88de97ce728b76df2a27b496ad27af0c"
|
||||
subject="comment 2"
|
||||
date="2022-03-21T19:18:53Z"
|
||||
content="""
|
||||
Ah, I see. Thank you!
|
||||
"""]]
|
|
@ -0,0 +1,20 @@
|
|||
[[!comment format=mdwn
|
||||
username="michael@ff03af62c7fd492c75066bda2fbf02370f5431f4"
|
||||
nickname="michael"
|
||||
avatar="http://cdn.libravatar.org/avatar/125bdfa8a2b91432c072615364bc3fa1"
|
||||
subject="comment 3"
|
||||
date="2022-03-21T19:10:35Z"
|
||||
content="""
|
||||
First of all, thank you very much for the quick fix!
|
||||
|
||||
I don't think that Nextcloud rewrote these files as otherwise git-annex would have re-imported them instead of recognizing the exported files. Using stat, I confirm that the replaced files have indeed the exactly same modify time - `Modify: 2021-12-19 22:47:35.988712668 +0100`. I think this is the time when I copied these files from a different directory, as this does not correspond to the modify time of the original files (that I still have). Quite interestingly, the access time of both original files is also the exactly same time, which supports this hypothesis. I can reproduce that copying a couple of small files using cp gives me target files with exactly identical modify times (in fact, all time stamps stat displays are identical). Steps to reproduce:
|
||||
|
||||
```
|
||||
for i in $(seq 32); do dd if=/dev/urandom of=file${i}.test bs=20k count=1; done
|
||||
mkdir d
|
||||
cp *.test d/
|
||||
stat d/*.test
|
||||
```
|
||||
|
||||
For me, this reproduces both on ext4 and on tmpfs.
|
||||
"""]]
|
Loading…
Reference in a new issue