diff options
author | Nathan Sanders <spekbukkem@gmail.com> | 2020-04-10 11:28:56 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-10 10:34:05 -0700 |
commit | 23eafd924a2df8b52d85afc6c448690d885bb784 (patch) | |
tree | 2bcb0a3e2ba4b61f85797a01aec0de6f92c4a54f /builtin/patch-id.c | |
parent | Merge branch 'ds/default-pack-use-sparse-to-true' (diff) | |
download | tgif-23eafd924a2df8b52d85afc6c448690d885bb784.tar.xz |
mingw: cope with the Isilon network file system
On certain network filesystems (currently encountered with Isilon, but
in theory more network storage solutions could be causing the same
issue), when the directory in question is missing,
`raceproof_create_file()` fails with an `ERROR_INVALID_PARAMETER`
instead of an `ERROR_PATH_NOT_FOUND`.
Since it is highly unlikely that we produce such an error by mistake
(the parameters we pass are fairly benign), we can be relatively certain
that the directory is missing in this instance. So let's just translate
that error automagically.
This fixes https://github.com/git-for-windows/git/issues/1345.
Signed-off-by: Nathan Sanders <spekbukkem@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/patch-id.c')
0 files changed, 0 insertions, 0 deletions