This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U 2011-10-23 14:37:33 +00:00 committed by admin
parent 3c5a0e78c0
commit 721f236e3a

View file

@ -0,0 +1,13 @@
Running `git annex uninit` in a repo which has branch git-annex checked out will result in:
error: Cannot delete the branch 'git-annex' which you are currently on.
git-annex: git [Param "-D",Param "git-annex"] failed
and trying to checkout branch master afterwards results in:
error: The following untracked working tree files would be overwritten by checkout:
Both of which is logical. The best thing would be if git-annex refused to run uninit while in branch git-annex.
Richard