From: Duy Nguyen Date: Wed, 05 Jun 2013 10:15:30 GMT Subject: Re: [PATCH 10/15] for-each-ref: introduce format specifier %>(*) and %<(*) Message-ID: In-Reply-To: On Wed, Jun 5, 2013 at 3:14 PM, Ramkumar Ramachandra 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