aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U <Richard@web>2011-10-23 14:37:33 +0000
committerGravatar admin <admin@branchable.com>2011-10-23 14:37:33 +0000
commit721f236e3a96a23d79dcf86ea7ef3d85d7270305 (patch)
treebb9896abdc770f1d77e86bde31c3b40e7544d006
parent3c5a0e78c032f11097cebda5079e09666c54f2fc (diff)
-rw-r--r--doc/bugs/uninit_should_not_run_when_branch_git-annex_is_checked_out.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/uninit_should_not_run_when_branch_git-annex_is_checked_out.mdwn b/doc/bugs/uninit_should_not_run_when_branch_git-annex_is_checked_out.mdwn
new file mode 100644
index 000000000..d14021936
--- /dev/null
+++ b/doc/bugs/uninit_should_not_run_when_branch_git-annex_is_checked_out.mdwn
@@ -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