aboutsummaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-02-24 23:59:03 +0200
committerJunio C Hamano <gitster@pobox.com>2009-02-25 00:49:54 -0800
commit9ccb3bca5776278aa4c2bd1da41c07edce68dfd1 (patch)
tree7e87f2a1c1185879445b9dbe52e15d16807b0dc6 /builtin-add.c
parentaa98eb3d6581a123852e4e080011acc3a61bc556 (diff)
downloadgit-9ccb3bca5776278aa4c2bd1da41c07edce68dfd1.tar.gz
git-9ccb3bca5776278aa4c2bd1da41c07edce68dfd1.tar.xz
git add: trivial codestyle cleanup
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>
Diffstat (limited to 'builtin-add.c')
-rw-r--r--builtin-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c
index ac98c8354..08443f2f1 100644
--- a/builtin-add.c
+++ b/builtin-add.c
@@ -15,7 +15,7 @@ static const char * const builtin_add_usage[] = {
"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)