summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa98eb3)
raw | patch | inline | side by side (parent: aa98eb3)
author | Felipe Contreras <felipe.contreras@gmail.com> | |
Tue, 24 Feb 2009 21:59:03 +0000 (23:59 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Feb 2009 08:49:54 +0000 (00:49 -0800) |
Global static variables don't need to be initialized to 0/NULL.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c | patch | blob | history |
diff --git a/builtin-add.c b/builtin-add.c
index ac98c8354d84a7f556c22c53fbe9007832ac4346..08443f2f1ecf7d9edd21cec11fa74548c3326df5 100644 (file)
--- a/builtin-add.c
+++ b/builtin-add.c
"git add [options] [--] <filepattern>...",
NULL
};
-static int patch_interactive = 0, add_interactive = 0;
+static int patch_interactive, add_interactive;
static int take_worktree_changes;
static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)