-
Notifications
You must be signed in to change notification settings - Fork 340
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
Tag names #26
base: master
Are you sure you want to change the base?
Tag names #26
Conversation
I have been using this patch for months now, with several repositories, several machines, and a variety of versions of Ubuntu and Debian. No bug found, yet. |
Cool, I'll try to have a proper look at this week and merge it in :) |
Thanks jordi, I have been using your code since November and I like it! But there is one situation where it looks odd: during a rebase. To reproduce:
With this simple fix I changed the I did also add some lines which detect and display when we are rebasing or merging, but they will be trapped in the office until next Monday. ;) |
Here is how to detect when we are stuck on a rebase, a merge, or a cherry-pick: joeytwiddle@1c87a4b |
@joeytwiddle Very nice :)... I'll be spending some time on a proper update for git-aware-prompt soon. I personally haven't used the project since about 5 years ago when I switched to zsh. So the goal is to incorporate a lot of these kind of improvements, and make it compatible with both bash and zsh, so I can start using it myself again too. |
@joeytwiddle |
I added this code to get tag names in case you checkout a specific tag. Instead of just writing detached* as branch name.
You might want to include it the your main repo. I did not tested it extensively, but I will be actively using this fix from now on and will maintain it if necessary.