diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-06-07 16:00:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-06-07 16:00:52 -0400 |
commit | 6cd2bc8a76d5cb0d4a08912a9ed679287998fba2 (patch) | |
tree | d5c9ace657bcb74282d6fb5354afb0bd0dc92ede /doc/devblog | |
parent | c867bec4e30f35e401b522c1bda8a918f5698ae7 (diff) |
devblog
Diffstat (limited to 'doc/devblog')
-rw-r--r-- | doc/devblog/day_397__befuddled.mdwn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/devblog/day_397__befuddled.mdwn b/doc/devblog/day_397__befuddled.mdwn new file mode 100644 index 000000000..a7d35fc75 --- /dev/null +++ b/doc/devblog/day_397__befuddled.mdwn @@ -0,0 +1,28 @@ +Been having a difficult time fixing the two remaining test suite failures +when run on a FAT filesystem. + +On Friday, I got quite lost trying to understand the first failure. At +first I thought it had something to do with queued git staging commands not +being run in the right git environment when git-annex is using a different +index file or work tree. I did find and fix a potential bug in that area. +It might be that some reports long ago of git-annex branch files getting +written to the master branch was caused by that. But, fixing it did not +help with the test suite failure at hand. + +Today, I quickly found the actual cause of the first failure. +Of course, it had nothing to do with queued git commands at +all, and was a simple fix in the end. + +But, I've been staring at the second failure for hours and am not much +wiser. All I know is, an invalid tree object gets generated by the adjusted +branch code that contains some files more than once. (git gets very +confused when a repository contains such tree objects; if you wanted to break a +git repository, getting such trees into it might be a good way. *cough*) This +invalid tree object seems to be caused by the basis ref for the adjusted branch +diverging somehow from the adjusted branch itself. I have not been able to +determine why or how the basis ref can diverge like that. + +Also, this failure is somewhat indeterminite, doesn't always occur and +reordering the tests in the test suite can hide it. Weird. + +Well, hopefully looking at it again later with fresh eyes will help. |