diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-27 12:21:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-27 12:21:38 -0400 |
commit | e0b7012ccc405dedb556b8c940eb66e42304bc73 (patch) | |
tree | 6a7093d721d4e1ad4933a1255e057c7df5189135 /Init.hs | |
parent | a2ee4386bb8f64046a5838038c89492dddcce94f (diff) |
uninit: Clear annex.uuid from .git/config. Closes: #670639
Diffstat (limited to 'Init.hs')
-rw-r--r-- | Init.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -29,7 +29,9 @@ initialize mdescription = do maybe (recordUUID u) (describeUUID u) mdescription uninitialize :: Annex () -uninitialize = gitPreCommitHookUnWrite +uninitialize = do + gitPreCommitHookUnWrite + removeRepoUUID {- Will automatically initialize if there is already a git-annex branch from somewhere. Otherwise, require a manual init |