diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-04-12 02:44:45 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-12 02:44:45 +0300 |
commit | f1b50ec6f85883c483b344442c69cd3d88b38380 (patch) | |
tree | fdada8c7b4cab8cb095c98e83cf22246a638d775 /compat/mingw.h | |
parent | ab1f2765f78e75ee51dface57e1071b3b7f42b09 (diff) | |
parent | 53ef17d3ee0f7fcb151f428ee3bd736b8046825f (diff) |
Merge tag 'v2.35.2'
Diffstat (limited to 'compat/mingw.h')
-rw-r--r-- | compat/mingw.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h index 6074a3d3ce..494cc8de92 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -457,6 +457,13 @@ char *mingw_query_user_email(void); #endif /** + * Verifies that the specified path is owned by the user running the + * current process. + */ +int is_path_owned_by_current_sid(const char *path); +#define is_path_owned_by_current_user is_path_owned_by_current_sid + +/** * Verifies that the given path is a valid one on Windows. * * In particular, path segments are disallowed which |