diff options
author | Ben Sima <ben@bsima.me> | 2021-01-11 11:55:30 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-01-11 11:55:30 -0500 |
commit | 83efc28b170e31ad144970eeba38ced055eca97e (patch) | |
tree | 6b65fd4d6fabf18894ad421023be260b6bb5a0c4 /ghpatch | |
parent | f7b01f88ec969bd1a51c8cfe7511ffb0b79d51db (diff) |
add ghpatch
Diffstat (limited to 'ghpatch')
-rwxr-xr-x | ghpatch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/usr/bin/env bash +if (( $# < 0 )) +then + echo "usage: ghpatch <github PR url>" +fi +curl -sL "$1.patch" |