Always ensure git-annex branch exists.
This commit is contained in:
parent
45bce3a3a8
commit
c90652f015
2 changed files with 10 additions and 3 deletions
|
@ -83,9 +83,10 @@ withIndex' bootstrapping a = do
|
|||
reset <- liftIO $ Git.useIndex f
|
||||
|
||||
e <- liftIO $ doesFileExist f
|
||||
unless e $ liftIO $ do
|
||||
createDirectoryIfMissing True $ takeDirectory f
|
||||
unless bootstrapping $ genIndex g
|
||||
unless e $ do
|
||||
unless bootstrapping $ create
|
||||
liftIO $ createDirectoryIfMissing True $ takeDirectory f
|
||||
liftIO $ unless bootstrapping $ genIndex g
|
||||
|
||||
r <- a
|
||||
liftIO reset
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
git-annex (3.20110625) UNRELEASED; urgency=low
|
||||
|
||||
* Always ensure git-annex branch exists.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 26 Jun 2011 21:01:06 -0400
|
||||
|
||||
git-annex (3.20110624) experimental; urgency=low
|
||||
|
||||
* New repository format, annex.version=3. Use `git annex upgrade` to migrate.
|
||||
|
|
Loading…
Reference in a new issue