remove workaround for old bug
ef24751922
described a bug moving between
remotes in direct mode; I can no longer reproduce it with this strange
workaround removed. Also test suite still passes. Hope the broken code just
got fixed in the meantime.
This commit is contained in:
parent
897d877472
commit
43d17632f6
2 changed files with 3 additions and 5 deletions
|
@ -434,12 +434,8 @@ removeAnnex key = withObjectLoc key remove removedirect
|
||||||
mapM_ (resetfile cache) fs
|
mapM_ (resetfile cache) fs
|
||||||
resetfile cache f = whenM (sameInodeCache f cache) $ do
|
resetfile cache f = whenM (sameInodeCache f cache) $ do
|
||||||
l <- inRepo $ gitAnnexLink f key
|
l <- inRepo $ gitAnnexLink f key
|
||||||
top <- fromRepo Git.repoPath
|
|
||||||
cwd <- liftIO getCurrentDirectory
|
|
||||||
let top' = fromMaybe top $ absNormPathUnix cwd top
|
|
||||||
let l' = relPathDirToFile top' (fromMaybe l $ absNormPathUnix top' l)
|
|
||||||
secureErase f
|
secureErase f
|
||||||
replaceFile f $ makeAnnexLink l'
|
replaceFile f $ makeAnnexLink l
|
||||||
|
|
||||||
{- Runs the secure erase command if set, otherwise does nothing.
|
{- Runs the secure erase command if set, otherwise does nothing.
|
||||||
- File may or may not be deleted at the end; caller is responsible for
|
- File may or may not be deleted at the end; caller is responsible for
|
||||||
|
|
|
@ -34,3 +34,5 @@ git version 1.8.3.4 (Apple Git-47)
|
||||||
# /usr/local/bin/git --version
|
# /usr/local/bin/git --version
|
||||||
git version 1.8.5.3
|
git version 1.8.5.3
|
||||||
"""]]
|
"""]]
|
||||||
|
|
||||||
|
> [[fixed|done]]; it has been updated to 1.8.5.3 on the autobuilder. --[[Joey]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue