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

Fix bash completion with git 2.30.0 and higher #2948

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cblecker
Copy link

@cblecker cblecker commented Mar 28, 2022

This implements the fix proposed by @ches here: #2684 (comment)

I've been running this in my local env for over a year without issue, but when installing hub on a new machine, it messed up my bash completions for git, so I thought I'd actually open this PR.

fixes #2684

Co-authored-by: Ches Martin <ches@whiskeyandgrits.net>
Copy link
Member

@mislav mislav left a comment

Thank you! Is this backwards-compatible with git 2.29 and lower?

@cblecker
Copy link
Author

cblecker commented Mar 29, 2022

I've done basic testing on 2.29.2 and it works, but haven't done a complete regression test or anything.

@cblecker
Copy link
Author

cblecker commented Mar 29, 2022

(P.S. If it's possible for a version to be cut with this and #2939, it would be much appreciated)

@cblecker
Copy link
Author

cblecker commented Apr 29, 2022

@mislav: friendly nudge :) is getting this merged and a release cut possible? Thank you!

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.

bash completion incompatibility with git 2.30.0
2 participants