mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 18:32:14 +02:00
filter-repo: only require two arguments to record_id_rename
We always called record_id_rename with handle_transitivity set to True, and I do not know of a use case that would do otherwise so let's just hardcode that value. Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
a8b39e58b3
commit
7e0b7a9fc2
@ -1167,11 +1167,12 @@ def get_total_objects(repo):
|
||||
return int(lines[0].split()[1]) + int(lines[2].split()[1])
|
||||
|
||||
###############################################################################
|
||||
def record_id_rename(old_id, new_id, handle_transitivity = False):
|
||||
def record_id_rename(old_id, new_id):
|
||||
###############################################################################
|
||||
"""
|
||||
Register a new translation
|
||||
"""
|
||||
handle_transitivity = True
|
||||
_IDS.record_rename(old_id, new_id, handle_transitivity)
|
||||
|
||||
# Internal globals
|
||||
|
Loading…
Reference in New Issue
Block a user