Re: [PATCH] branch: add show-tracking option

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

 



On Thu, May 16, 2013 at 3:40 PM, Michael J Gruber
<git@xxxxxxxxxxxxxxxxxxxx> wrote:
>> What if I want something in -vvvv except some in -vv? I think to avoid
>> option explosion, maybe we can adopt --pretty=format:xxx from "git
>> log" and let the user decideswhat (and how) to display. "pretty" code
>> learns about alignment already, which may be useful here.
>> --
>> Duy
>
> Sure, that is the big solution we've been talking about. Unify
> for-each-ref formats and log formats and use that. After all, "git
> branch" in list mode really is for-each-ref, and should be transparently
> so; same goes for "git tag". Think "git rev-list" and "git ref-list"!

Again I forgot about for-each-ref. Sounds like sharing code between
for-each-ref and branch is a good thing to do. Then just add more
candy placeholders from git-log like %C(xx). Sounds like a fun topic.

> But I guess we'll be compabeaten ;)

No idea what that last word means :(
--
Duy
--
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]