diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-05 12:42:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-05 12:42:52 -0400 |
commit | 51338486dcf9ab86de426e41b1eb31af1d3a6c87 (patch) | |
tree | af9c9edd522daf933082a40d135c24bc154d2700 /doc/bugs/fsck_output.mdwn | |
parent | 52e88f3ebf974c3802e951e17593ce5768c04b92 (diff) |
Fix a bug in symlink calculation code, that triggered in rare cases where an annexed file is in a subdirectory that nearly matched to the .git/annex/object/xx/yy subdirectories.
This is a straight up pure-code stinker. The relative path calculation
looked for common subdirectories in the two paths, but failed to stop
after the paths diverged. When a later pair of subdirectories were the
same, the resulting relative path was wrong.
Added regression test for this.
Diffstat (limited to 'doc/bugs/fsck_output.mdwn')
0 files changed, 0 insertions, 0 deletions