summaryrefslogtreecommitdiff
path: root/doc/bugs/uninit_should_not_run_when_branch_git-annex_is_checked_out.mdwn
blob: e4e407ec8780a1bc4bb7801c7781940d2f083879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

> [[done]] --[[Joey]]