Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/2] git apply: option to ignore whitespace differences

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:01

Giuseppe Bilotta [off-list ref] writes:
On Thu, Jul 2, 2009 at 6:46 PM, Junio C Hamano[off-list ref] wrote:
quoted
quoted
diff --git a/builtin-apply.c b/builtin-apply.c
index dc0ff5e..86860d6 100644
--- a/builtin-apply.c
+++ b/builtin-apply.c
@@ -39,6 +39,7 @@ static int diffstat;
 static int numstat;
 static int summary;
 static int check;
+static int ignore_whitespace = 0;
s/ = 0//;
Ah, I wondered about that. I assume this leaves no possibility for
uninitialized values because of the way option parsing is done?
It is not "uninitialized" to begin with.

C initializes static variables without explicit initial values to 0.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help