summaryrefslogtreecommitdiff
path: root/ghpatch
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-11 11:55:30 -0500
committerBen Sima <ben@bsima.me>2021-01-11 11:55:30 -0500
commit83efc28b170e31ad144970eeba38ced055eca97e (patch)
tree6b65fd4d6fabf18894ad421023be260b6bb5a0c4 /ghpatch
parentf7b01f88ec969bd1a51c8cfe7511ffb0b79d51db (diff)
add ghpatch
Diffstat (limited to 'ghpatch')
-rwxr-xr-xghpatch6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghpatch b/ghpatch
new file mode 100755
index 0000000..66365af
--- /dev/null
+++ b/ghpatch
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+if (( $# < 0 ))
+then
+ echo "usage: ghpatch <github PR url>"
+fi
+curl -sL "$1.patch"