a bug from dulwich
This commit is contained in:
parent
2f2d1d1106
commit
d69c5381c4
|
@ -296,6 +296,9 @@ def extract_method_function_relation(
|
|||
Some filepaths gotten by dulwich are different with the real filepaths
|
||||
in the mysql database and the key names in filepath_id_dict. When this bug
|
||||
happened we set filepath_id_old = 0.
|
||||
Example: When deal with the repository git@github.com:apache/iotdb.git, a filepath in
|
||||
filepath_id_dict is 'iotdb\\metrics\\interface\\src\\main\\java\\org\\apache\\iotdb\\metrics\\DoNothingMetricService.java'
|
||||
while the filepath obtained by dulwich will ignore "iotdb\\"
|
||||
"""
|
||||
filepath_id_new = 0
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue