aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-arr2
-rw-r--r--git.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/git-arr b/git-arr
index 418f883..b9c9d46 100755
--- a/git-arr
+++ b/git-arr
@@ -380,7 +380,7 @@ def generate(output, skip_index = False):
# To avoid regenerating files that have not changed, we will
# instruct write_to() to set their mtime to the branch's committer
- # date, and then compare against it to decide wether or not to
+ # date, and then compare against it to decide whether or not to
# write.
branch_mtime = r.commit(bn).committer_date.epoch
diff --git a/git.py b/git.py
index 8aa9eb1..bddca70 100644
--- a/git.py
+++ b/git.py
@@ -253,6 +253,7 @@ class Repo:
cmd.max_count = limit
cmd.arg(ref)
+ cmd.arg('--')
for l in cmd.run():
yield l.rstrip('\n')
@@ -273,6 +274,7 @@ class Repo:
cmd.header = None
cmd.arg(ref)
+ cmd.arg('--')
info_buffer = ''
count = 0