diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-28 21:27:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-28 21:27:15 -0400 |
commit | 3f4471609c11083429914372978f8c852cd1cf0b (patch) | |
tree | 7e8221412ac18eac644c782dec7bb455b3cbbdc9 /Init.hs | |
parent | 30685dd2a6e6706128a3539f3617b017f4e20e60 (diff) |
indentation foo, and a new coding style page. no code changes
Diffstat (limited to 'Init.hs')
-rw-r--r-- | Init.hs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -52,11 +52,11 @@ uninitialize = do repos that did not intend to use it. -} ensureInitialized :: Annex () ensureInitialized = getVersion >>= maybe needsinit checkVersion - where - needsinit = ifM Annex.Branch.hasSibling - ( initialize Nothing - , error "First run: git-annex init" - ) + where + needsinit = ifM Annex.Branch.hasSibling + ( initialize Nothing + , error "First run: git-annex init" + ) {- Checks if a repository is initialized. Does not check version for ugrade. -} isInitialized :: Annex Bool |