Tell curl to follow redirects for commit-msg hook
An HTTP server may reasonably want to redirect e.g. http to https, so
use -L to instruct curl to follow such a redirect.
Change-Id: Ie8d9caee68330335fc1e915c5e87d9191f29ea65
diff --git a/Documentation/user-changeid.txt b/Documentation/user-changeid.txt
index a4224bd..c13faa6 100644
--- a/Documentation/user-changeid.txt
+++ b/Documentation/user-changeid.txt
@@ -53,7 +53,7 @@
$ scp -p -P 29418 john.doe@review.example.com:hooks/commit-msg .git/hooks/
- $ curl -o .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg
+ $ curl -Lo .git/hooks/commit-msg http://review.example.com/tools/hooks/commit-msg
Then ensure that the execute bit is set on the hook script: