-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature request] Display branch names in Gstatus #1700
Comments
First things first, I highly recommend using That said, this is a good (if obvious) idea. The problem is that we're limited to plain text, so we'd need to make it something like |
That's an interesting approach. Yeah, this definitely makes it easier to see what's the status of the topic branch in relation to the upstream. Thanks for the tip! Right, I see the potential problems. I guess using some obscure characters (I'm thinking Out of curiosity, if it happens that I have a free afternoon, are you open to contributions in this area? Anyway, thanks for the answer |
The initial implementation is not the bottleneck, but if you wanna start prototyping and get a feel for what works and what doesn't, have at it. Shouldn't be much more to it than updating |
After some experimentation, I produced #1713 |
Makes it easier to see what's the status of the topic branch in relation to the upstream. Highly recommended by tpope tpope/vim-fugitive#1700 (comment) Simple has been default since Git 2.0 and is good for beginners. upstream - push the current branch back to the branch whose changes are usually integrated into the current branch (which is called @{upstream}). This mode only makes sense if you are pushing to the same repository you would normally pull from (i.e. central workflow).
Hey,
While working with
:Gstatus
after a rebase I found it difficult to see which commits are on some existing branch (e.g.origin/master
), and which are on my local branch. Example output:The view would certainly be more useful to me if there was a branch name displayed next to commits to which the branches point to, e.g.
This would then be similar to how branch names are shown in the regular
git log
The text was updated successfully, but these errors were encountered: