aboutsummaryrefslogtreecommitdiff
path: root/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'git.py')
-rw-r--r--git.py2
1 files changed, 2 insertions, 0 deletions
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