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 /debian | |
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 'debian')
-rw-r--r-- | debian/changelog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 8ac34487b..cbcb46e83 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,9 @@ git-annex (3.20120230) UNRELEASED; urgency=low * Add configurable hooks that are run when git-annex starts and stops using a remote: remote.name.annex-start-command and remote.name.annex-stop-command + * 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. -- Joey Hess <joeyh@debian.org> Thu, 01 Mar 2012 22:34:27 -0400 |