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
Prune remote branches from Remote repositories dialog not working as expected #6284
Comments
Yes. It is tied to which remote is selected in the first tab.
…On Wed, Feb 20, 2019 at 3:55 PM Martin Steinisch ***@***.***> wrote:
Current behaviour
Clicking Prune remote branches in Repository > Remote repositories > Default
pull behaviour (fetch & merge) prunes only one repository at a time. The
pruned remote is the one selected in the first tab Remote repositories.
Expected behaviour
The button should trigger pruning of all remotes at once. Just like the
checkbox Prune remote branches in the Pull dialog does.
Steps to reproduce
1. Open Repository > Remote repositories. Note that I have 2 remotes
configured.
[image: prune1]
<https://user-images.githubusercontent.com/46861028/53108923-2a8f8400-3538-11e9-8158-07d6a0a23e80.png>
2. Go to second tab Default pull behaviour (fetch & merge) and click Prune
remote branches.
[image: prune2]
<https://user-images.githubusercontent.com/46861028/53108935-2fecce80-3538-11e9-9c20-d4ef7d9359ef.png>
3. Verify in the output that only one remote is actually pruned.
[image: prune4]
<https://user-images.githubusercontent.com/46861028/53108951-3713dc80-3538-11e9-9a45-2f8624440700.png>
4. Go back to first tab Remote repositories and select the other
remote.
5. Go back to second tab and click Prune remote branches again. Now
the other remote gets pruned.
Did this work in previous version of GitExtensions
No. I think it was always like this.
Environment
- Git Extensions 3.0.2.5232
- Build 23b6f51
<23b6f51>
- Git 2.20.1.windows.1
- Microsoft Windows NT 10.0.17763.0
- .NET Framework 4.7.3324.0
- DPI 96dpi (no scaling)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6284>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ADdhsdvowAsumeRgGi3oD_oV9MDuiEinks5vPbY1gaJpZM4bGGJC>
.
|
That doesn't seem logical to me, because you have no way of figuring out which remote it refers to (unless you switch tabs). Moreover, the button next to it |
I do not see this as @mast-eu but can see that this is misunderstood too. |
Sorry, but the "Remote repository" seen above the |
Correct. |
For me, the best way to improve the situation is to remove completely the button. I never found it a good place to "hide" this feature in a form that is more a "configuration" form where few people go. It takes myself years to discover that GitExtensions proposed this feature and used to did it by command lines... And now that we have the left panel, we could add this feature in the contextual menu of the remotes and in the one of the "Remotes" node to propose a "prune all remotes" feature. |
@pmiossec sounds good! |
I already did a quick try. I have to do the PR... |
Yes, tonight I'll have a look at it. |
Current behaviour
Clicking
Prune remote branches
inRepository
>Remote repositories
>Default pull behaviour (fetch & merge)
prunes only one repository at a time. The pruned remote is the one selected in the first tabRemote repositories
.Expected behaviour
The button should trigger pruning of all remotes at once. Just like the checkbox
Prune remote branches
in the Pull dialog does.Steps to reproduce
Repository
>Remote repositories
. Note that I have 2 remotes configured.Default pull behaviour (fetch & merge)
and clickPrune remote branches
.Remote repositories
and select the other remote.Prune remote branches
again. Now the other remote gets pruned.Did this work in previous version of GitExtensions
No. I think it was always like this.
Environment
The text was updated successfully, but these errors were encountered: