diff options
Diffstat (limited to 'src/util/fs_path.h')
-rw-r--r-- | src/util/fs_path.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/fs_path.h b/src/util/fs_path.h index fd045a313..e5ca67378 100644 --- a/src/util/fs_path.h +++ b/src/util/fs_path.h @@ -747,8 +747,13 @@ typedef enum { */ GIT_FS_PATH_USER_IS_ADMINISTRATOR = (1 << 2), + /** + * The file is owned by the current user, who is running `sudo`. + */ + GIT_FS_PATH_OWNER_RUNNING_SUDO = (1 << 3), + /** The file may be owned by another user. */ - GIT_FS_PATH_OWNER_OTHER = (1 << 3) + GIT_FS_PATH_OWNER_OTHER = (1 << 4) } git_fs_path_owner_t; /** |