X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fhooks.txt;h=898b4aaf80aabe8caa9675c4371918a61312f1cb;hb=3742506578dda5de2fe97e403f04150a85ffef17;hp=3824a9517ccec80ba0325578929a2ea95dca7296;hpb=be1295d16a2593dcf468fef7d9e811d057d9039f;p=git.git diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index 3824a951..898b4aaf 100644 --- a/Documentation/hooks.txt +++ b/Documentation/hooks.txt @@ -100,7 +100,7 @@ update This hook is invoked by `git-receive-pack` on the remote repository, which is happens when a `git push` is done on a local repository. Just before updating the ref on the remote repository, the update hook -is invoked. It's exit status determins the success or failure of +is invoked. Its exit status determines the success or failure of the ref update. The hook executes once for each ref to be updated, and takes @@ -151,7 +151,7 @@ so it is a poor place to do log old..new. The default post-update hook, when enabled, runs `git-update-server-info` to keep the information used by dumb -transports (eg, http) up-to-date. If you are publishing +transports (e.g., http) up-to-date. If you are publishing a git repository that is accessible via http, you should probably enable this hook.