git-annex/Utility
Joey Hess 51338486dc 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.
2012-03-05 12:42:52 -04:00
..
Base64.hs rename 2011-07-05 20:24:10 -04:00
CoProcess.hs refactor 2012-02-20 15:22:21 -04:00
CopyFile.hs remove Utility.Conditional and use IfElse 2012-01-24 16:22:07 -04:00
DataUnits.hs hslint 2011-12-09 01:57:13 -04:00
Directory.hs IO exception rework 2012-02-03 16:47:24 -04:00
Dot.hs finished hlint pass 2011-07-15 12:47:14 -04:00
Exception.hs IO exception rework 2012-02-03 16:47:24 -04:00
FileMode.hs make unused check branches and tags too 2011-09-28 16:43:10 -04:00
Format.hs hlint 2012-02-16 00:44:51 -04:00
Gpg.hs don't use GPG_AGENT_INFO to force batch mode in test suite 2012-01-09 18:19:29 -04:00
JSONStream.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Matcher.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Misc.hs Merge branch 'master' into ghc7.4 2012-02-03 16:48:40 -04:00
Monad.hs treak 2012-01-21 02:49:32 -04:00
PartialPrelude.hs rename readMaybe to readish 2012-01-23 17:00:10 -04:00
Path.hs 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. 2012-03-05 12:42:52 -04:00
RsyncFile.hs Avoid excessive escaping for rsync special remotes that are not accessed over ssh. 2011-11-18 12:53:48 -04:00
SafeCommand.hs add safeSystem 2011-11-09 17:28:35 -04:00
State.hs switch to the strict state monad 2012-01-29 22:55:06 -04:00
StatFS.hsc really fix foreign C functions filename encodings 2012-02-04 14:30:28 -04:00
TempFile.hs IO exception rework 2012-02-03 16:47:24 -04:00
Touch.hsc really fix foreign C functions filename encodings 2012-02-04 14:30:28 -04:00
Url.hs hlint 2012-02-16 00:44:51 -04:00