Changeset 897f07d5514f…
Parent db36d1f7e96a…
by
Changes to one file · Browse files at 897f07d5514f Showing diff from parent db36d1f7e96a Diff from another changeset...
@@ -142,6 +142,8 @@ try:
def get_path(a, b):
rawpath = b != '/dev/null' and b or a
+ if not rawpath.startswith(('a/', 'b/')):
+ return rawpath
return rawpath.split('/', 1)[-1]
hunks = []
map = {'MODIFY': 'M', 'ADD': 'A', 'DELETE': 'R',
|
Loading...