summaryrefslogtreecommitdiff
path: root/tests/fetchhead
Commit message (Collapse)AuthorAgeFilesLines
* remote: allow overriding the refspecs for download and fetchCarlos Martín Nieto2014-09-301-1/+1
| | | | | | | With opportunistic ref updates, git has introduced the concept of having base refspecs *and* refspecs that are active for a particular fetch. Let's start by letting the user override the refspecs for download.
* When auto follow tags, FETCH_HEAD should list only newly followed tagsLinquize2014-09-061-0/+15
|
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-4/+4
|
* fetchhead: deal with quotes in branch namesCarlos Martín Nieto2014-04-242-0/+12
| | | | | | | | | The current FETCH_HEAD parsing code assumes that a quote must end the branch name. Git however allows for quotes as part of a branch name, which causes us to consider the FETCH_HEAD file as invalid. Instead of searching for a single quote char, search for a quote char followed by SP, which is not a valid part of a ref name.
* remote: write tests for cloning from an empty repoCarlos Martín Nieto2014-04-022-1/+36
| | | | | | | | Cloning from an empty repo must set master's upstream to origin's master, even if neither of them exist. Fetching from a non-empty origin must then mark the master branch for-merge. This currently fails.
* Rename tests-clar to testsBen Straub2013-11-142-0/+340