From: Joey Hess Date: Mon, 10 Oct 2016 18:23:24 +0000 (-0400) Subject: more analysis X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~298^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d2527c421c6f619a44bf161fd0266d645d7355cc;p=git-annex.git more analysis --- diff --git a/doc/bugs/sync_in_adjusted_branch_deleted_recently_added_files.mdwn b/doc/bugs/sync_in_adjusted_branch_deleted_recently_added_files.mdwn index 72ca490611..8c4425f8b0 100644 --- a/doc/bugs/sync_in_adjusted_branch_deleted_recently_added_files.mdwn +++ b/doc/bugs/sync_in_adjusted_branch_deleted_recently_added_files.mdwn @@ -29,7 +29,9 @@ Initial plan: Try to reset the adjusted branch and master back to before 9cdbd4f and re-run to try to reproduce this happening. --[[Joey]] -> Update: Was able to reproduce bug as follows: +---- + +Update: Was able to reproduce bug as follows: 1. Untar tarball 2. git reset --hard 961bbbf @@ -45,6 +47,14 @@ Output of step #4 is: (Merging into adjusted branch...) Updating 61bf677..46e18b7 Fast-forward - (diffstat shows 1 file added, and all files from commit 9cdbd4f deleted) + (diffstat shows 1 file added, and all files added by commit 9cdbd4f deleted) + +Making changes other than that cherry-pick, like adding or renaming +a file, don't seem to trigger the bug. + +I think that the bug is in Git.Tree.adjustTree, when the +addtreeitems are in a deep subdirectory, it seems to not be adding them +into the tree. This happens in simpler test cases, so something about +this particular tree is breaking the code. --[[Joey]]