Skip to content

Commit b464d46

Browse files
committed
doc: update curl usage in COLLABORATOR_GUIDE
Github now redirects the patch urls hosted on github.com, making it necessary to enable curl redirect handling to obtain patches in the merge process. Example (before and after): https://github.com/iojs/io.js/pull/1382.patch https://patch-diff.githubusercontent.com/raw/iojs/io.js/pull/1382.patch PR-URL: #1382 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 61c0e7b commit b464d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

COLLABORATOR_GUIDE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ $ git merge --ff-only origin/v1.x
132132
Apply external patches
133133

134134
```text
135-
$ curl https://github.com/iojs/io.js/pull/xxx.patch | git am --whitespace=fix
135+
$ curl -L https://github.com/iojs/io.js/pull/xxx.patch | git am --whitespace=fix
136136
```
137137

138138
Check and re-review the changes

0 commit comments

Comments
 (0)