mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-07 18:00:51 +00:00
When creating files, instead of actually using GIT_FILEMODE_BLOB and the other various constants that happen to correspond to mode values, apparently I should be just using 0666 and 0777, and relying on the umask to clear bits and make the value sane. This fixes the rules for copying a template directory and fixes the checks to match that new behavior. (Further changes to the checkout logic to follow separately.) |
||
|---|---|---|
| .. | ||
| discover.c | ||
| getters.c | ||
| hashfile.c | ||
| head.c | ||
| headtree.c | ||
| init.c | ||
| message.c | ||
| open.c | ||
| repo_helpers.c | ||
| repo_helpers.h | ||
| setters.c | ||
| state.c | ||