Thread (1 message) 1 message, 1 author, 2016-08-11

Re: [PATCH] Add --remotes option to show-branch

From: Brian Gernhardt <hidden>
Date: 2016-08-11 20:43:31

On Dec 18, 2006, at 3:45 PM, Junio C Hamano wrote:
I've never used --heads and --tags myself because

	git show-branch heads/*
        git show-branch tags/*

works perfectly well for me, and it often is not very useful to
look at _all_ the heads (tags are even much less interesting) in
a topic heavy repository anyway.  IOW, I more often do something
like:

	git show-branch --topics master heads/js/*

to see what Johannes has relative to "master".

I actually was thinking about removing these flags, not adding
--remotes, because

	git show-branch remotes/origin/*
I agree that tags/* is fairly useless.  Way too much data.  And if you want to remote --heads and --tags, then --remotes doesn't have much place.  I was simply poking around and thought that if we have those two, then the third seemed natural and odd to miss.

However if --all meant all heads, local or remote, I'd be fairly pleased.  heads/* is just as easy as --heads (and leaving it blank is even easier), but --remotes is significantly easier than "remotes/origin/* remotes/partner/*".  And sometimes I'd really like to know where all the branches are in relation to each other.

Pardon if this doesn't make much sense.  It's been a looooong day...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help