summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-13 14:20:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-13 14:20:54 -0400
commit4a24dd0e9b1e8edc5db37adf7f305c8369e01d32 (patch)
tree1d9d33a2b6a89d4b98748e49aadc89cc0e5f0bb6 /doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__
parent1d71ad072e13c8ed1cb8b34367b57d59e651f0a9 (diff)
parent76faeb4de2ccc1217f4fbbce20c5436cd23ceb8c (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__')
-rw-r--r--doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__/comment_5_b5d7fcd0dd707cd2b62d8b9eb2cae3f0._comment11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__/comment_5_b5d7fcd0dd707cd2b62d8b9eb2cae3f0._comment b/doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__/comment_5_b5d7fcd0dd707cd2b62d8b9eb2cae3f0._comment
new file mode 100644
index 000000000..bffe9debd
--- /dev/null
+++ b/doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__/comment_5_b5d7fcd0dd707cd2b62d8b9eb2cae3f0._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="edward"
+ subject="Same problem, git revert worked, sort of"
+ date="2015-08-13T11:18:42Z"
+ content="""
+I had a similar problem. I ran `git annex sync` twice, once on the laptop, then on the external drive, lots of git annex symlinks disappeared from the laptop, the symlinks are still present on external drive checkout directory, but git says they were deleted, when I run `git status` it lists them as untracked files. I followed the advice and ran `git log --stat` to find the commit that removed the files. The commit message is \"git-annex in big portable USB drive\". I'm pretty sure that this is a commit from `git annex sync`.
+
+Running `git revert` worked on the laptop, but it fails external drive, it says \"error: The following untracked working tree files would be overwritten by merge\" and starts listing the missing symlinks.
+
+Both annex checkouts are set to indirect mode. The laptop preferred content is manual, the external drive is backup. I've run the assistant in the past, but not recently. I'm running Debian git-annex 5.20150727-2. Let me know if you need any more information.
+"""]]