Don´t stop switch if all changes coincide with live changes
ArneBachmann opened this issue · comments
Arne Bachmann commented
Currently the output looks like switch was OK, but has a message to use --force instead
Simply remove all matches between current file tree changes and the ones coming in from switch (or update)
Arne Bachmann commented
Problem is that exitOnChanges will exit before switch has a chance to compare changsets, but using --force would solve the problem
Arne Bachmann commented
But what would be the rules?
- Local addition vs. remote add/remove is a potential conflict
- Local modification vs. remote add/remove is a conflict
- Local deletion can always be ignored
Arne Bachmann commented
Have a partial workaround in place, but having local additions needs per-file comparison to remove conflict