Re: [PATCH] tests: Introduce test_seq
- From
Jeff King <peff@peff.net>
- Date
- Aug 3, 2012, 22:02 UTC
- Message-ID
- <20120803220237.GA14003@sigill.intra.peff.net>
- In-Reply-To
- <7v3943bsuc.fsf@alter.siamese.dyndns.org>
On Fri, Aug 03, 2012 at 01:53:15PM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> Wouldn't it be cleaner and readable to write it like this > > "$PERL_PATH" -le 'print for $ARGV[0]..$ARGV[1]' "$1" "$2" > > by the way?
Yeah, that would be more robust (it's longer to type, which is why I avoided it in the inline replacement, but since we're factoring it out, that's not an issue).
-Peff