Re: [PATCH v11 12/13] tag.c: implement '--format' option

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

 



Karthik Nayak <karthik.188@xxxxxxxxx> writes:

> From: Karthik Nayak <karthik.188@xxxxxxxxx>
>
> Implement the '--format' option provided by 'ref-filter'.
> This lets the user list tags as per desired format similar
> to the implementation in 'git for-each-ref'.
>
> Add tests and documentation for the same.

Hmm, do we want "--format" added to "tag -l" and "branch -l" in the
first place?  Scriptors should be using "for-each-ref" plumbing in
the first place, and the point of unifying these three is to share
filtering features among them, which would make "for-each-ref" able
to express what the other two can do.  I'd hesitate to add too much
flexibility to "branch -l" and "tag -l" Porcelains to entice people
to script around them.

--
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]