Fix undefined variable names

Reported-by: Christian Clauss <cclauss@me.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
pull/135/head
Elijah Newren 4 years ago
parent ed6f410088
commit e4960a53f8

@ -3516,7 +3516,7 @@ class RepoFilter(object):
contents = subproc.check_output(cmd)
except subprocess.CalledProcessError as e: # pragma: no cover
raise SystemExit(_("Failed loading %s from %s") %
(decode(marks_basename), branch))
(decode(marks_basename), full_branch))
if contents:
biggest_id = max(int(x.split()[0][1:]) for x in contents.splitlines())
_IDS._next_id = max(_IDS._next_id, biggest_id+1)

@ -9,7 +9,7 @@ near the top of git-filter-repo
import git_filter_repo as fr
def handle_tag(tag):
print("Decipher this: "+''.join(reversed(progress.message)))
print("Tagger: "+''.join(tag.tagger_name))
args = fr.FilteringOptions.parse_args(['--force', '--tag-callback', 'pass'])
filter = fr.RepoFilter(args, tag_callback = handle_tag)

Loading…
Cancel
Save