blob: 442e17242927ce6b0f3a02c34b6ee0c3454faaf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
### Please describe the problem.
I have a git-annex repo with lots of images and keep a unlocked v6 branch around to access them. When new files are added (i.e. after running `git annex sync --content`), they are often detected as "modified":
$ git annex status .
M image.jpg
They are however identical to the checked-in files:
$ cp image.jpg image-changed.jpg
$ git checkout -- image.jpg
$ cmp image.jpg image-changed.jpg && echo "No change"
No change
This seems to happen to older files from time to time as well, but I cannot reproduce that.
The only way to rectify this I can find is `git checkout` - but that means I have no way to know whether I am actually throwing away changes. It also has the unfortunate side effect of changing the mtime, leading to previews having to be regenerated.
### What version of git-annex are you using? On what operating system?
git-annex version: 6.20171026-gd451d333d (standalone binary) on Debian stretch.
|