diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-06 23:30:36 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-06 23:30:36 -0700 |
| commit | 3e4674519318e082426d85bf3b8de50ad621bfeb (patch) | |
| tree | aaa7eda90bd4b598d38bf82306e6a10397e3ba49 /util | |
| parent | 21f0a79a8b5f5a44c47fb10bc6ed10d5a40c31b3 (diff) | |
perms-hook: Fix post-checkout handling
Diffstat (limited to 'util')
| -rw-r--r-- | util/perms-hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/perms-hook.c b/util/perms-hook.c index ce0eed61..08b96daa 100644 --- a/util/perms-hook.c +++ b/util/perms-hook.c @@ -224,7 +224,7 @@ int main(int argc, char *argv[]) { } old = "ORIG_HEAD"; new = "HEAD"; - } else if (strcmp(argv[0], "post-checkout") == 0) { + } else if (strcmp(argv0, "post-checkout") == 0) { if (argc != 4) { fprintf(stderr, "usage: %s old new flag\n", argv0); exit(2); |
