summaryrefslogtreecommitdiff
path: root/doc/bugs/Revert_to_old_file_version_in_direct_mode___40__VFAT__41__.mdwn
blob: 38eb9e28c80f939616a151aad8fad315aaff0371 (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
### Please describe the problem.

Somewhere on the forums you advised that in order to revert to an old
version of a file in a direct-mode annex, one should briefly switch to
indirect mode and check out an earlier revision.

This won’t work though if the direct-mode repo is on a VFAT
file-system, which does not support indirect mode.

If I didn’t overlook an alternative way, would it make sense to expose
this functionality in «git annex get $file»? Like «git annex get $file
--from $repo/$revision»?

Specifying revisions to get from might also be convenient for
alternative use-cases, I suppose.

Best regards,
T.

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

git-annex 5.20140421
Linux 3.14.3

> VFAT is a crippled file system. I am not going to reimplenent all of git
> to support it. The suggested method won't work; git-annex would need
> to add a git-annex revert, etc, etc, etc ad infinitum. [[wontfix|done]] --[[Joey]]