We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b131ab0 + 3daca41 commit f8e0b36Copy full SHA for f8e0b36
scripts/check-patches-apply.py
@@ -52,7 +52,7 @@
52
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ->
53
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-master.tar.gz
54
tarball_url = f"{args.repo}/snapshot/{base_repo}-{args.ref}.tar.gz"
55
- strip = 1
+ strip = len(args.ref.split('/'))
56
elif 'googlesource.com' in args.repo:
57
tarball_url = f"{args.repo}/+archive/refs/heads/{args.ref}.tar.gz"
58
strip = 0
0 commit comments