##// END OF EJS Templates
git: ensure empty diff is returned for no matching file filter
marcink -
r762:42afb633 default
parent child Browse files
Show More
@@ -996,6 +996,8 b' class GitRemote(RemoteBase):'
996 996 for p in diff_obj:
997 997 if p.delta.old_file.path == file_filter:
998 998 return p.patch or ''
999 # fo matching path == no diff
1000 return ''
999 1001 return diff_obj.patch or ''
1000 1002
1001 1003 @reraise_safe_exceptions
General Comments 0
You need to be logged in to leave comments. Login now