git --diff: fix traceback when getting mode change
- use the manifest instead of the mode in the working dir
if the diff is against two revisions
- add a testcase
abort: error: Connection refused255copy: No such file or directoryabort: HTTP Error 4040