mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 02:12:17 +02:00
filter-repo: fix parsing bug in Reset object creation
Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
b029443a6f
commit
c92a4e471e
@ -189,7 +189,7 @@ class FastExportParser(object):
|
||||
ref = t[1]
|
||||
from_ref = None
|
||||
if len(t) > 2:
|
||||
from_ref = t[4]
|
||||
from_ref = t[3]
|
||||
reset = Reset(ref, from_ref)
|
||||
|
||||
# Call any user callback to allow them to modify the reset
|
||||
|
Loading…
Reference in New Issue
Block a user