Merge branch 'ao/diff-populate-filespec-lstat-errorpath-fix'
commit4e9762ed4791a44f7b1c2ab66328b81bdc243173
authorJunio C Hamano <gitster@pobox.com>
Thu, 9 Nov 2017 05:31:26 +0000 (9 14:31 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Nov 2017 05:31:26 +0000 (9 14:31 +0900)
tree70cdfe250ef08f480f1dd266c9db952dc109fbc6
parent4da9f598e66fb2f2abcd3770c8253edbe0858190
parent10e0ca843dea3e8135678600f22e0baa1edf6e44
Merge branch 'ao/diff-populate-filespec-lstat-errorpath-fix'

After an error from lstat(), diff_populate_filespec() function
sometimes still went ahead and used invalid data in struct stat,
which has been fixed.

* ao/diff-populate-filespec-lstat-errorpath-fix:
  diff: fix lstat() error handling in diff_populate_filespec()
diff.c