repair: Fix bug in packed refs file exploding code that caused a .gitrefs directory to be created instead of .git/refs
This commit is contained in:
parent
fa1de753d7
commit
4e19e87921
2 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,7 @@ explodePackedRefsFile r = do
|
||||||
nukeFile f
|
nukeFile f
|
||||||
where
|
where
|
||||||
makeref (sha, ref) = do
|
makeref (sha, ref) = do
|
||||||
let dest = localGitDir r ++ show ref
|
let dest = localGitDir r </> show ref
|
||||||
createDirectoryIfMissing True (parentDir dest)
|
createDirectoryIfMissing True (parentDir dest)
|
||||||
unlessM (doesFileExist dest) $
|
unlessM (doesFileExist dest) $
|
||||||
writeFile dest (show sha)
|
writeFile dest (show sha)
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -17,6 +17,8 @@ git-annex (5.20140108) UNRELEASED; urgency=medium
|
||||||
recover.
|
recover.
|
||||||
* Fix FTBFS on mipsel and sparc due to test suite not being available
|
* Fix FTBFS on mipsel and sparc due to test suite not being available
|
||||||
on those architectures.
|
on those architectures.
|
||||||
|
* repair: Fix bug in packed refs file exploding code that caused a .gitrefs
|
||||||
|
directory to be created instead of .git/refs
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Wed, 08 Jan 2014 13:13:54 -0400
|
-- Joey Hess <joeyh@debian.org> Wed, 08 Jan 2014 13:13:54 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue