@matheusbsbs / matheus-bagliano / commits / 9ccb3bca57
Fork 0

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>

Felipe Contreras committed Feb 24, 2009 at 23:59 UTC 9ccb3bca5776278aa4c2bd1da41c07edce68dfd1
1 file changed +1 -1
builtin-add.c
+1 -1
@@ -15,7 +15,7 @@ static const char * const builtin_add_usage[] = {
15 "git add [options] [--] <filepattern>...",
16 NULL
17 };
18 -static int patch_interactive = 0, add_interactive = 0;
18 +static int patch_interactive, add_interactive;
19 static int take_worktree_changes;
20
21 static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)