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

Make "Prune remote branches" option on Pull dialog "sticky". #3891

Closed
yusirui opened this issue Aug 8, 2017 · 4 comments
Closed

Make "Prune remote branches" option on Pull dialog "sticky". #3891

yusirui opened this issue Aug 8, 2017 · 4 comments

Comments

@yusirui
Copy link

yusirui commented Aug 8, 2017

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
An option was added to the 2.50.01 Pull dialog to "Prune remote branches". If set to "checked", it is reset to unchecked after the pull or fetch.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?
Please make it a persistent setting, like the Merge options, or add a sub-option to make it persistent.

Environment you encounter the issue:

  • GitExtensions version:
  • GIT version:
  • OS version:

Did this work in previous version of GitExtensions (which)?

@vbjay
Copy link
Contributor

vbjay commented Aug 8, 2017 via email

@moshesafran
Copy link

Maybe then add an option to make "Prune" sticky in the "Settings->Advanced" dialog?

@ddprince17
Copy link

Yes please, add this feature. Like @moshesafran said, add an advanced option to allow the user to make it "sticky".

@RussKie
Copy link
Member

RussKie commented May 3, 2018

As @vbjay said enabling this feature may have serious consequences.
When a user types a git command they are (significantly more) explicit about requested operations. However when those commands are abstracted by a UI away from the user, these command become part of the "black box".

Imagine the settings gets set, the user is/becomes unaware or forgets about it, and then loses his/her work.
That is not the risk we are willing to accept.

If you indeed need this feature, write a custom script (Settings > Scripts) and hook it up to AfterPull event (or AfterFetch once #4909 gets implemented) and run the prune command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants