When operating in --break-rewrites (-B) mode on a file with no newline
terminator (and assuming --break-rewrites determines that the diff
_is_ a rewrite), git diff previously concatenated the indicator comment
'\ No newline at end of file' directly to the terminating line rather
than on a line of
Adam Butcher dev.li...@jessamine.co.uk writes:
When operating in --break-rewrites (-B) mode on a file with no newline
terminator (and assuming --break-rewrites determines that the diff
_is_ a rewrite), git diff previously concatenated the indicator comment
'\ No newline at end of file'
Jeff King peff at peff.net writes:
- for i in $(seq 1 $GIT_PERF_REPEAT_COUNT); do
+ for i in $($PERL_PATH -le print for
1..$GIT_PERF_REPEAT_COUNT); do
Maybe you could introduce test_seq instead.
--
To unsubscribe from this list: send the line unsubscribe git in
the
On Fri, Aug 03, 2012 at 07:49:47AM +, Michał Kiedrowicz wrote:
Jeff King peff at peff.net writes:
- for i in $(seq 1 $GIT_PERF_REPEAT_COUNT); do
+ for i in $($PERL_PATH -le print for
1..$GIT_PERF_REPEAT_COUNT); do
Maybe you could introduce test_seq instead.
I
Jeff King p...@peff.net writes:
On Fri, Aug 03, 2012 at 07:49:47AM +, Michał Kiedrowicz wrote:
Jeff King peff at peff.net writes:
- for i in $(seq 1 $GIT_PERF_REPEAT_COUNT); do
+ for i in $($PERL_PATH -le print for
1..$GIT_PERF_REPEAT_COUNT); do
Maybe you
On Fri, Aug 03, 2012 at 09:46:22AM -0700, Junio C Hamano wrote:
Maybe you could introduce test_seq instead.
I don't have a strong preference, as there are only two callsites. Do
you want to make a patch?
If you run for . in . . . in t/, we see quite a many hits, so
only two callsites
On Thu, Aug 02, 2012 at 10:11:02PM +0100, Adam Butcher wrote:
From 01730a741cc5fd7d0a5d8bd0d3df80d12c81fe48 Mon Sep 17 00:00:00 2001
From: Adam Butcher dev.li...@jessamine.co.uk
Date: Wed, 1 Aug 2012 22:25:09 +0100
Subject: [PATCH] Fix 'No newline...' annotation in rewrite diffs.
You can
Jeff King p...@peff.net writes:
On Thu, Aug 02, 2012 at 10:11:02PM +0100, Adam Butcher wrote:
From 01730a741cc5fd7d0a5d8bd0d3df80d12c81fe48 Mon Sep 17 00:00:00 2001
From: Adam Butcher dev.li...@jessamine.co.uk
Date: Wed, 1 Aug 2012 22:25:09 +0100
Subject: [PATCH] Fix 'No newline...'
Adam Butcher dev.li...@jessamine.co.uk writes:
+# create a file containing numbers with no newline at
+# the end and modify it such that the starting 10 lines
+# are unchanged, the next 101 are rewritten and the last
+# line differs only in that in is terminated by a newline.
+seq 1 10 seq
On Thu, Aug 02, 2012 at 02:52:56PM -0700, Junio C Hamano wrote:
Seq is (unfortunately) not portable. I usually use a perl snippet
instead, like:
perl -le 'print for (1..10)'
Though I think we are adjusting that to use $PERL_PATH these days.
t/perf/perf-lib.sh and
On 02.08.2012 22:33, Jeff King wrote:
On Thu, Aug 02, 2012 at 10:11:02PM +0100, Adam Butcher wrote:
From 01730a741cc5fd7d0a5d8bd0d3df80d12c81fe48 Mon Sep 17 00:00:00
2001
From: Adam Butcher dev.li...@jessamine.co.uk
Date: Wed, 1 Aug 2012 22:25:09 +0100
Subject: [PATCH] Fix 'No newline...'
On 02.08.2012 23:00, Junio C Hamano wrote:
Adam Butcher dev.li...@jessamine.co.uk writes:
+# create a file containing numbers with no newline at
+# the end and modify it such that the starting 10 lines
+# are unchanged, the next 101 are rewritten and the last
+# line differs only in that in is
12 matches
Mail list logo