diff options
| author | Russell Belfer <rb@github.com> | 2013-02-27 13:44:15 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-02-27 13:44:15 -0800 |
| commit | 18f08264082dd436914c3c06d369e7a98ddf17aa (patch) | |
| tree | 3d254870ff7e85d9edaff5ffa80e733fdefffcb2 /include/git2/submodule.h | |
| parent | 0d1b094b07d836a657ad9e458e04490d1e72d365 (diff) | |
| download | libgit2-18f08264082dd436914c3c06d369e7a98ddf17aa.tar.gz | |
Make mode handling during init more like git
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.)
Diffstat (limited to 'include/git2/submodule.h')
0 files changed, 0 insertions, 0 deletions
