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

Git branch information is broken for submodules #833

Closed
gpakosz opened this issue Feb 10, 2016 · 3 comments
Closed

Git branch information is broken for submodules #833

gpakosz opened this issue Feb 10, 2016 · 3 comments
Assignees
Labels
👆 clink-completions Upstream issue in clink-completions.
Milestone

Comments

@gpakosz
Copy link
Contributor

gpakosz commented Feb 10, 2016

When using Cmder with a cmd.exe session, Git branch information for submodules is broken.

This is directly related to clink-completions's get_git_dir() not handling submodules correctly.

I believe once vladimir-kotikov/clink-completions/issues/46 is closed, git_prompt_filter() which uses get_git_dir() will report the proper branch information.

@MartiUK MartiUK self-assigned this Feb 10, 2016
@MartiUK MartiUK added this to the 1.3 milestone Feb 10, 2016
@MartiUK MartiUK added the 👆 clink-completions Upstream issue in clink-completions. label Feb 10, 2016
Stanzilla added a commit that referenced this issue Feb 16, 2016
Fixed get_git_dir() to take submodules into account. Fixes #833
@gpakosz
Copy link
Contributor Author

gpakosz commented Feb 16, 2016

I thought the commit message would automatically close this issue.

@vladimir-kotikov
Copy link
Contributor

It will when commit appear in master branch. It has been merged into development yet.

@gpakosz
Copy link
Contributor Author

gpakosz commented Feb 16, 2016

I see. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👆 clink-completions Upstream issue in clink-completions.
Projects
None yet
Development

No branches or pull requests

3 participants