mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 01:20:53 +00:00
Merge pull request #2445 from ethomson/checkout_conflict_test
checkout::conflict tests: only test owner mode
This commit is contained in:
commit
0145afe635
@ -169,7 +169,7 @@ static void ensure_workdir_mode(const char *path, int mode)
|
||||
git_buf_joinpath(&fullpath, git_repository_workdir(g_repo), path));
|
||||
|
||||
cl_git_pass(p_stat(git_buf_cstr(&fullpath), &st));
|
||||
cl_assert_equal_i(mode, st.st_mode);
|
||||
cl_assert_equal_i((mode & S_IRWXU), (st.st_mode & S_IRWXU));
|
||||
|
||||
git_buf_free(&fullpath);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user