summaryrefslogtreecommitdiffstats
path: root/git-interface/git-update.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-interface/git-update.py')
-rwxr-xr-xgit-interface/git-update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/git-update.py b/git-interface/git-update.py
index 5ff8b28..4698382 100755
--- a/git-interface/git-update.py
+++ b/git-interface/git-update.py
@@ -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")