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

Support git push <remote> +<tab> #343

Merged
merged 3 commits into from
Jan 4, 2017
Merged

Support git push <remote> +<tab> #343

merged 3 commits into from
Jan 4, 2017

Conversation

dahlbyk
Copy link
Owner

@dahlbyk dahlbyk commented Dec 31, 2016

Finishes #174 (by @dan-turner) to close #173. Turns out it's a bit more complicated than I had thought due to tab expansion needing to return the full "word" being expanded (including the +). I think this will do it, though?

dan-turner and others added 3 commits January 12, 2015 14:24
Git supports a short-hand syntax for force-pushing a branch to a remote by including the "+" modifier before the branch name. However when doing so, Posh-git was no longer able to auto-complete the branch name as it did not understand this syntax.  This PR adds that support.

Closes #173
@dahlbyk dahlbyk added this to the v0.7 milestone Dec 31, 2016
@dan-turner
Copy link
Contributor

Better late than never :)

@dahlbyk dahlbyk merged commit f992413 into master Jan 4, 2017
@dahlbyk dahlbyk deleted the force-push branch January 4, 2017 05:06
@dahlbyk
Copy link
Owner Author

dahlbyk commented Jan 4, 2017

Better late than never :)

Only two years! Sigh.

Belated thanks for the bug report and start to a fix!

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.

Feat: Support additional short-hand modifiers in branch auto-complete
2 participants