summaryrefslogtreecommitdiff
path: root/tests-clay/status/single.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename the Clay test suite to ClarVicent Martí2012-01-241-29/+0
| | | | | Clay is the name of a programming language on the makings, and we want to avoid confusions. Sorry for the huge diff!
* clay: Move `file_create` to the helpers fileVicent Martí2012-01-021-10/+1
|
* *: correct and codify various file permissionsBrodie Rao2011-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files now have 0444 permissions: - loose objects - pack indexes - pack files - packs downloaded by fetch - packs downloaded by the HTTP transport And the following files now have 0666 permissions: - config files - repository indexes - reflogs - refs This brings libgit2 more in line with Git. Note that git_filebuf_commit() and git_filebuf_commit_at() have both gained a new mode parameter. The latter change fixes an important issue where filebufs created with GIT_FILEBUF_TEMPORARY received 0600 permissions (due to mkstemp(3) usage). Now we chmod() the file before renaming it into place. Tests have been added to confirm that new commit, tag, and tree objects are created with the right permissions. I don't have access to Windows, so for now I've guarded the tests with "#ifndef GIT_WIN32".
* Fix Clay compilation under Win32Vicent Marti2011-09-161-1/+1
|
* Add sample "Status" clay testsVicent Marti2011-09-161-0/+38