Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout: close views with deleted files #388

Open
wants to merge 2 commits into
base: python3
Choose a base branch
from

Conversation

bordaigorl
Copy link
Contributor

On checkout of a branch, close views showing files which are deleted the branch
Introduces the setting close_removed_on_checkout (defaults to false) to enable/disable the new feature.

Additionally it produces an error message if the switch to a branch went wrong (e.g. because of uncommitted changes that may be overwritten).

This feature remedies to the tedium of getting loads of "save or close" prompts when closing views on files that are not present in the target branch.
Views with unsaved changes are left open, so those which are open after the switch are the ones where the "save or close" option is important.

…in the branch

Introduces the setting `close_removed_on_checkout`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant