more analysis

This commit is contained in:
Joey Hess 2016-10-10 14:23:24 -04:00
parent 75c7215857
commit d2527c421c
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -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]]