summaryrefslogtreecommitdiff
path: root/doc/todo/direct_mode_undo/comment_2_b826160420e0f343aadc5353e50aed2b._comment
blob: 1f300b8817facf62a15a5d734156c3f5a4b50de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[!comment format=mdwn
 username="https://id.koumbit.net/anarcat"
 subject="sigh... nevermind"
 date="2015-02-15T05:52:02Z"
 content="""
seems like i was wrong. i could have sworn i saw a committed file get unstaged. what i saw was:

    $ git annex status
    M file
    $ git annex undo file
    $ git annex status
    ? file

the thing is: the file was *removed* in a previous version, so i thought this was what it reverted to. i'm unsure as to why the file was marked as missing there - i ended up reverting from a backup (from another remote, by hand). after trying to reproduce this, i failed, so there may have been some PEBKAC in action again.

this feature is so useful though, thanks for this. --[[anarcat]]
"""]]