summaryrefslogtreecommitdiff
path: root/tests-clar/object/blob/write.c
Commit message (Collapse)AuthorAgeFilesLines
* More external API cleanupVicent Marti2012-11-271-1/+1
| | | | | | Conflicts: src/branch.c tests-clar/refs/branches/create.c
* Extensions to rmdir and mkdir utilitiesRussell Belfer2012-11-091-2/+2
| | | | | | | | | | | * Rework GIT_DIRREMOVAL values to GIT_RMDIR flags, allowing combinations of flags * Add GIT_RMDIR_EMPTY_PARENTS flag to remove parent dirs that are left empty after removal * Add GIT_MKDIR_VERIFY_DIR to give an error if item is a file, not a dir (previously an EEXISTS error was ignored, even for files) and enable this flag for git_futils_mkpath2file call * Improve accuracy of error messages from git_futils_mkdir
* Add complex checkout test and then fix checkoutRussell Belfer2012-10-091-2/+2
| | | | | | | | | | | | | | | | This started as a complex new test for checkout going through the "typechanges" test repository, but that revealed numerous issues with checkout, including: * complete failure with submodules * failure to create blobs with exec bits * problems when replacing a tree with a blob because the tree "example/" sorts after the blob "example" so the delete was being processed after the single file blob was created This fixes most of those problems and includes a number of other minor changes that made it easier to do that, including improving the TYPECHANGE support in diff/status, etc.
* tests: make sure we clean up in objects/blob/write.cCarlos Martín Nieto2012-05-131-4/+5
|
* blob: Add git_blob_create_fromdisk()nulltoken2012-05-131-0/+68
This function will create blobs in the object database from files anywhere on the filesystem. This can be run against bare and non-bare repositories.