Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/slim-index-pack-memory-usage'
[gitweb.git]
/
run-command.c
diff --git
a/run-command.c
b/run-command.c
index aad03ab705f301268980079282fcf370b9275c5a..4d73e90fad159184bfdd204b82dd8637ad28a955 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-795,9
+795,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;