This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawno-jcsScu4CK6k2QLZqxMros1PQHf1NQY 2014-03-09 10:01:32 +00:00 committed by admin
parent 829ffcc80c
commit f62633fc89

View file

@ -0,0 +1,30 @@
### Please describe the problem.
I plugged in a usb drive, did git annex sync and it git fast-forward and deleted about 600 files that I had added on my laptop.
### What steps will reproduce the problem?
Obviously, I'm not sure really because I don't plug this usb drive every day to sync so I don't remember what I did last time. But I suppose I just finished with git annex sync and unplugged it. The usb drive as in direct mode whereas the laptop was in indirect mode at the time. Anyway, the big mistake I did was syncing the laptop as well, naively thinking it would correct the usb drive; but instead it also deleted the files on the laptop. I had a back up of most of it so it was okay.
### What version of git-annex are you using? On what operating system?
Arch Linux
git-annex version: 5.20140128
build flags: S3 DBus TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web glacier hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]