Felipe Contreras  committed 9ccb3bc

git add: trivial codestyle cleanup

Global static variables don't need to be initialized to 0/NULL.

Signed-off-by: Felipe Contreras <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits aa98eb3

Comments (0)

Files changed (1)

File builtin-add.c

 	"git add [options] [--] <filepattern>...",
-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)