diff: Better title rendering

This commit is contained in:
Kovid Goyal
2018-05-08 23:02:00 +05:30
parent 9cb7a6b2c7
commit 7365ed9b05
3 changed files with 16 additions and 7 deletions

View File

@@ -150,8 +150,8 @@ def create_collection(left, right):
collect_files(collection, left, right)
else:
pl, pr = os.path.abspath(left), os.path.abspath(right)
path_name_map[left] = pl
path_name_map[right] = pr
path_name_map[pl] = left
path_name_map[pr] = right
collection.add_change(pl, pr)
collection.finalize()
return collection