Re: [PATCH 10/15] for-each-ref: introduce format specifier %>(*) and %<(*)

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

 



On Wed, Jun 5, 2013 at 3:14 PM, Ramkumar Ramachandra <artagnon@xxxxxxxxx> wrote:
> Duy Nguyen wrote:
>> I mentioned it before and I do it again. This is not optimal.
>
> Yeah, I'll attempt to fix this, but it's not urgent.

Agreed it's not urgent.

>> But I guess it's ok in this
>> shape unless you run this over hundreds of refs.
>
> Oh, you can run over a hundred refs just fine, for scripting purposes;
> but why would you want to run over a hundred refs with a pretty that
> includes %>(*) or %<(*)?

Good point. "git for-each-ref|wc -l" on my git repo says I have 673
refs. A naive use for-each-ref --pretty without any ref patterns could
happen. But I guess people will quickly learn to limit the ref
selection soon after doing that :-)
--
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]