aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Revert_to_old_file_version_in_direct_mode___40__VFAT__41__/comment_2_0ede40e0d68bfb9c6dbc1777f944ed06._comment
blob: 066fefa0ce6ef1c395c0ba239847b01350995613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="zardoz"
 ip="92.227.51.179"
 subject="comment 2"
 date="2014-05-17T14:16:12Z"
 content="""
One follow-up comment, because it occurred to me I might have phrased
the bug inadequately. By «revert» I didn’t mean a revert in the
git-sense, but merely «checking out» a file from a selected commit.

But I think I can achieve this in direct mode on VFAT by doing «git
show upstream/branch~X:file > file», right? «git annex get file» then
gets the correct content, only that it will not place the content into
the indicated file until I do «git annex fsck». Maybe «git annex get»
could take this into account and have the content immediately stored
there.

"""]]