summaryrefslogtreecommitdiff
path: root/tests/refs/branches/create.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't always test composed-insensitive lookupsrb/unicode-branch-namesRussell Belfer2014-05-081-4/+4
| | | | | | Only on a filesystem that is composed/decomposed insensitive, should be testing that a branch can be looked up by the opposite form and still work correctly.
* Pass unconverted data when iconv doesn't like itRussell Belfer2014-05-081-0/+56
| | | | | | | | | | | | | | When using Iconv to convert unicode data and iconv doesn't like the source data (because it thinks that it's not actual UTF-8), instead of stopping the operation, just use the unconverted data. This will generally do the right thing on the filesystem, since that is the source of the non-UTF-8 path data anyhow. This adds some tests for creating and looking up branches with messy Unicode names. Also, this takes the helper function that was previously internal to `git_repository_init` and makes it into `git_path_does_fs_decompose_unicode` which is a useful in tests to understand what the expected results should be.
* Some further sandboxing cleanups to testsRussell Belfer2014-05-021-6/+3
| | | | | Trying to find other issues where tests may not clean up quite properly when they are through...
* Merge pull request #2144 from linquize/branch-f-currentBen Straub2014-03-021-0/+19
|\ | | | | Do not allow git_branch_create() to force update branch
| * Add unit test to show git_branch_create() fails if attempt to force create ↵Linquize2014-03-021-0/+19
| | | | | | | | current branch
* | Reset helpers: use revparse insteadBen Straub2014-02-031-4/+5
|/
* Allow tests to run without user configBen Straub2014-01-301-0/+6
|
* Enhance testing of signature parametersBen Straub2014-01-301-1/+11
|
* Provide good default reflog messages in branch apiBen Straub2014-01-301-0/+17
|
* Deleting a branch deletes its reflogBen Straub2014-01-301-20/+0
|
* Add reflog params to git_branch_createBen Straub2014-01-301-9/+13
|
* Add passing reflog testsBen Straub2014-01-301-1/+29
|
* Clean up warningsEdward Thomson2013-12-091-1/+2
|
* Rename tests-clar to testsBen Straub2013-11-141-0/+76