oxygen-git-client-addon
oxygen-git-client-addon copied to clipboard
Feature request: Ask user to discard XPR changes before checkout
Hi, I frequently switch branches, e.g. from main
to a feature branch. What happens to me quite often is, that a change in an XPR file is blocking the checkout. It happens in at least 75% of all cases. Then I usually need to switch the view and discard the XPR change. Unfortunately Git does not have something like a "pre-checkout" hook. So I cannot automate this. It would be nice if the Git addon would ask me, if I would like to discard XPR changes when this is interfering the checkout in some way.
Hi,
In this scenario we currently present this dialog:
Sometimes moving the changes fails with:
For this cases it would be good to have an additional option "Discard changes" in the dialog.
Does this sound O.K.?
As a side note in the "Preferences->Project Level Settings" page maybe you can uncheck certain checkboxes to make the project.xpr less volatile to change.
@AlexJitianu, yes. Currently I stash everything and delete my stashes every few days. :smile:
Note: internal issue ID is EXM-49768.