diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-30 16:12:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-30 16:12:20 -0400 |
commit | 2125458db2ae85357eb7bf0439c549b30ce5ef9c (patch) | |
tree | a18d8719701e8b1b98eafd464e3f0cfbc93860e3 | |
parent | d9d07ca0efce0ebf619821f58cdc7572b87b21cd (diff) |
init: Fix a bug that caused git annex init, when run in a bare repository, to set core.bare=false.
-rw-r--r-- | Init.hs | 5 | ||||
-rw-r--r-- | debian/changelog | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -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 diff --git a/debian/changelog b/debian/changelog index cd74133ed..02c5318ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. |