[ET Trac] [Einstein Toolkit] #105: fatal: git checkout: updating paths is incompatible with switching branches.

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Nov 22 15:48:13 CST 2010


#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".

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/105#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list