Closed sirlucjan closed 2 years ago
I added a similar solution to gl pull and gll fetch.
It should be ok:
lucjan at archlinux ~/Poczekalnia/Patchmaker/trunk-v3/src/linux-5.16.11 10:44:36 9ca84058 master
❯ gl patch HEAD~1
0001-LL-Add-.ll-version.patch
✔ Creating a patch sucessful
lucjan at archlinux ~/Poczekalnia/Patchmaker/trunk-v3/src/linux-5.16.11 10:44:47 9ca84058 master
❯ gl patch HEAD~2
fatal: ambiguous argument 'HEAD~2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
✘ Creating a patch failed
This looks great. Thanks for the pull request!
Simply wrapper to git format-patch
Signed-off-by: Piotr Gorski lucjan.lucjanov@gmail.com