init: Fix a bug that caused git annex init, when run in a bare repository, to set core.bare=false.
This commit is contained in:
parent
0d4b6a1d66
commit
b1f678b8e5
2 changed files with 11 additions and 1 deletions
5
Init.hs
5
Init.hs
|
@ -65,7 +65,10 @@ initialize mdescription = do
|
|||
setVersion directModeVersion
|
||||
, do
|
||||
setVersion defaultVersion
|
||||
setDirect False
|
||||
-- Handle case where this repo was cloned from a
|
||||
-- direct mode repo.
|
||||
unlessM isBare
|
||||
switchHEADBack
|
||||
)
|
||||
createInodeSentinalFile
|
||||
u <- getUUID
|
||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
|||
git-annex (5.20131127.2) UNRELEASED; urgency=low
|
||||
|
||||
* init: Fix a bug that caused git annex init, when run in a bare
|
||||
repository, to set core.bare=false.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sat, 30 Nov 2013 16:10:48 -0400
|
||||
|
||||
git-annex (5.20131127.1) unstable; urgency=low
|
||||
|
||||
* Rebuild that does not try to use quvi 0.9 from experimental.
|
||||
|
|
Loading…
Reference in a new issue