Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: introduce "add" command
[gitweb.git]
/
run-command.c
diff --git
a/run-command.c
b/run-command.c
index a47699966c59f708683e439bcd3296d5fce8acf5..c4a62aa0e8fb8eba8d6972461eed07097a52a976 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-794,9
+794,9
@@
int finish_async(struct async *async)
#endif
}
-char *find_hook(const char *name)
+c
onst c
har *find_hook(const char *name)
{
- char *path = git_path("hooks/%s", name);
+ c
onst c
har *path = git_path("hooks/%s", name);
if (access(path, X_OK) < 0)
path = NULL;