summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/perms-hook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/perms-hook.c b/util/perms-hook.c
index ae88ea54..8f0f85b2 100644
--- a/util/perms-hook.c
+++ b/util/perms-hook.c
@@ -86,7 +86,7 @@ spawn(char **argv, pid_t *pid)
static void
readperms(void)
{
- static char *argv[] = { "git", "show", ":.perms", 0 };
+ static char *argv[] = {"git", "show", ":.perms", 0};
FILE *f;
pid_t pid;
char *line = NULL, *s, *mode;
@@ -184,8 +184,8 @@ defperm(const char *name)
static void
readchanges(char *old, char *new)
{
- char *argv_diff[] = { "git", "diff", "--name-only", "-z", old, new, 0 };
- char *argv_new[] = { "git", "ls-tree", "--name-only", "--full-tree", "-z", "-r", new, 0 };
+ char *argv_diff[] = {"git", "diff", "--name-only", "-z", old, new, 0};
+ char *argv_new[] = {"git", "ls-tree", "--name-only", "--full-tree", "-z", "-r", new, 0};
FILE *f;
pid_t pid;
char *line = NULL;