Re: Find main branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 15, 2016 at 09:30:24AM -0800, Junio C Hamano wrote:

> Jeff King <peff@xxxxxxxx> writes:
> 
> > It would be nice if "git ls-remote" just had some way of printing the
> > capabilities.
> 
> I would agree that it would be nice to give an option to ls-remote
> to show which ones are symrefs pointing at what.  You are being more
> ambitious than that, but I am not sure I would agree it is a good
> idea.
> 
> Most normal capabilities have no value to ordinary end users, and
> the symref= thing is interesting for them only because there isn't
> such an option in ls-remote (hence "capabilities" thing could be
> used as a poor-man's substitute).

I thought it might be nice for any porcelain which tries to wrap
`ls-remote`, make some decision based on the capabilities, and then
invoke another plumbing command. But I guess that is probably slightly
crazy, and nobody is doing it.

Something like `ls-remote --symrefs` probably would be a better place to
start.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]