summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-17 21:30:21 -0700
committerMichael Forney <mforney@mforney.org>2016-06-17 21:30:21 -0700
commit78a52dc11c27544f3f5d0d3958360d4a09e7ef5f (patch)
tree01ce4f7df3d3947fa60bcc36376f1e9776895d27 /util
parent29e229de8862faaa263abec43dcfcf3fd2ca4499 (diff)
perms-hook: Style
Diffstat (limited to 'util')
-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;