#105: fatal: git checkout: updating paths is incompatible with switching branches. ----------------------------+----------------------------------------------- Reporter: knarf | Owner: eric9 Type: defect | Status: accepted Priority: minor | Milestone: ET_2011_06 Component: GetComponents | Version: ET_2010_11 Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by eschnett):
Actually, GetComponents should never delete anything. Imagine if the user has local modifications that are then deleted, or if this confusion is due to a typo in the thorn list.
If GetComponents is really sure that all that is deleted was just checked out (and didn't exist beforehand locally), then it may delete things. But this is still dangerous, especially while GetComponents is debugged.
Instead of deleting it could rename, which would also avoid confusion, e.g. to "repo-thisdidnotworkout".