uninit: Clear annex.uuid from .git/config. Closes: #670639
This commit is contained in:
parent
a2ee4386bb
commit
e0b7012ccc
3 changed files with 11 additions and 2 deletions
4
Init.hs
4
Init.hs
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue