summaryrefslogtreecommitdiff
path: root/tests-clar/repo/repo_helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* No such thing as an orphan branchCarlos Martín Nieto2013-09-171-1/+1
| | | | | | | | | | | Unfortunately git-core uses the term "unborn branch" and "orphan branch" interchangeably. However, "orphan" is only really there for the checkout command, which has the `--orphan` option so it doesn't actually create the branch. Branches never have parents, so the distinction of a branch with no parents is odd to begin with. Crucially, the error messages deal with unborn branches, so let's use that.
* Rename ref and reflog apis for consistencyBen Straub2012-11-271-1/+1
|
* repository: Refine repository_head() error reportnulltoken2012-11-121-0/+11
|
* test: extract make_head_orphaned() logicnulltoken2012-10-201-0/+11