uninit: Clear annex.uuid from .git/config. Closes: #670639

This commit is contained in:
Joey Hess 2012-04-27 12:21:38 -04:00
parent a2ee4386bb
commit e0b7012ccc
3 changed files with 11 additions and 2 deletions

View file

@ -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