mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
git-update: Use proper stop value for slice
Fixes a regression introduced in 4112e57
(Add a restore command to the
SSH interface, 2015-08-14).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
34e7f7084a
commit
2c20403cc4
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "restore":
|
|||
refname = "refs/heads/master"
|
||||
sha1_old = sha1_new = repo.lookup_reference('refs/heads/' + pkgbase).target
|
||||
elif len(sys.argv) == 4:
|
||||
refname, sha1_old, sha1_new = sys.argv[1:3]
|
||||
refname, sha1_old, sha1_new = sys.argv[1:4]
|
||||
else:
|
||||
die("invalid arguments")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue