diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-04 21:33:26 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-04 21:33:26 +0200 |
commit | d3789825d3823bdbbebe278172345243618ca541 (patch) | |
tree | 6d7a528c92076ca443e2ae226134dd1f40a642fa /src/repository.c | |
parent | 843d01d27f4372de24b3255146cf0fda70b850c1 (diff) | |
download | libgit2-fileops.tar.gz |
fileops: Fix stat() on directories for W32fileops
Diffstat (limited to 'src/repository.c')
-rw-r--r-- | src/repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c index 48c8e2b7e..c82060891 100644 --- a/src/repository.c +++ b/src/repository.c @@ -377,7 +377,7 @@ static int retrieve_device(dev_t *device_out, const char *path) assert(device_out); - if (p_stat(path, &path_info)) + if (p_lstat(path, &path_info)) return git__throw(GIT_EOSERR, "Failed to get file informations: %s", path); *device_out = path_info.st_dev; |