summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Further tree building tests with hard pathsRussell Belfer2014-01-031-6/+40
| | | | |
| * | | | Tree accessor tests with hard path namesRussell Belfer2014-01-031-9/+57
| | | | |
* | | | | revwalk: add a test for pushing all referencesCarlos Martín Nieto2014-02-051-0/+19
| | | | | | | | | | | | | | | | | | | | This used to be broken, let's make sure we don't break this use-case.
* | | | | revwalk: ignore wrong object type in glob pushesCarlos Martín Nieto2014-02-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Pushing a whole namespace can cause us to attempt to push non-committish objects. Catch this situation and special-case it for ignoring this.
* | | | | revwalk: add a failing test for pushing "tags"Carlos Martín Nieto2014-02-051-0/+10
| |_|/ / |/| | | | | | | | | | | This shows that pusing a whole namespace can be problematic.
* | | | Test that emulates a strange filter implementationEdward Thomson2014-02-031-0/+70
| | | |
* | | | Tests merging staged files identical to resultEdward Thomson2014-02-031-0/+70
| | | |
* | | | Tests merge when changes exist in workdir/indexEdward Thomson2014-02-031-0/+182
| |_|/ |/| |
* | | Merge pull request #2095 from libgit2/update-head-reflogVicent Marti2014-02-031-13/+38
|\ \ \ | | | | | | | | Correct "new" id for reattached-HEAD reflog entry
| * | | Add failing test caseBen Straub2014-02-011-13/+38
| | |/ | |/|
* | | Add `git_reference_is_note`.Arthur Schreiber2014-02-021-0/+15
|/ /
* | Update to latest clarRussell Belfer2014-01-311-5/+13
| |
* | Allow tests to run without user configBen Straub2014-01-302-0/+12
| |
* | Enhance testing of signature parametersBen Straub2014-01-305-11/+48
| |
* | Provide good default reflog messages in branch apiBen Straub2014-01-302-0/+38
| |
* | Ensure moving a branch updates the reflogBen Straub2014-01-301-0/+19
| |
* | Ensure renaming a reference updates the reflogBen Straub2014-01-303-14/+32
| |
* | Add reflog parameters to git_branch_moveBen Straub2014-01-301-13/+13
| |
* | Deleting a branch deletes its reflogBen Straub2014-01-302-20/+26
| |
* | Augment clone API with reflog parametersBen Straub2014-01-302-1/+45
| |
* | Add reflog params to git_branch_createBen Straub2014-01-304-14/+18
| |
* | Add passing reflog testsBen Straub2014-01-301-1/+29
| |
* | Ensure creating HEAD creates its reflogBen Straub2014-01-301-0/+21
| |
* | Ensure updating HEAD updates reflogBen Straub2014-01-301-0/+23
| |
* | Add reflog params to set-head callsBen Straub2014-01-305-23/+23
| |
* | Merge pull request #2085 from libgit2/rb/index-tree-blob-collisionVicent Marti2014-01-301-0/+106
|\ \ | | | | | | Index tree-bob collision
| * | More index collision testsEdward Thomson2014-01-291-0/+64
| | |
| * | Add test for blob/tree name collisions in indexRussell Belfer2014-01-291-0/+42
| | |
* | | Expand zstream tests and fix off-by-one errorRussell Belfer2014-01-301-17/+62
| | |
* | | Reorganize zstream API and fix wrap problemsRussell Belfer2014-01-301-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | There were some confusing issues mixing up the number of bytes written to the zstream output buffer with the number of bytes consumed from the zstream input. This reorganizes the zstream API and makes it easier to deflate an arbitrarily large input while still using a fixed size output.
* | | Misc cleanupsRussell Belfer2014-01-301-1/+0
| | |
* | | Make submodule fetchRecurse match other optionsRussell Belfer2014-01-301-14/+20
|/ / | | | | | | | | | | This removes the fetchRecurse compiler warnings and makes the behavior match the other submodule options (i.e. the in-memory setting can be reset to the on-disk value).
* | Don't strcmp a git_buf, strcmp its char *Edward Thomson2014-01-291-1/+1
| |
* | Add `git_graph_descendant_of`.Arthur Schreiber2014-01-281-0/+47
| |
* | Merge pull request #2066 from libgit2/rb/builtin-diff-driversVicent Marti2014-01-2727-29/+914
|\ \ | | | | | | Add built in diff drivers
| * | Add PHP tests and fix bug in PHP builtin driverRussell Belfer2014-01-2713-3/+204
| | |
| * | Update Javascript userdiff driver and testsRussell Belfer2014-01-2724-17/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | Writing a sample Javascript driver pointed out some extra whitespace handling that needed to be done in the diff driver. This adds some tests with some sample javascript code that I pulled off of GitHub just to see what would happen. Also, to clean up the userdiff test data, I did a "git gc" and packed up the test objects.
| * | Move userdiff tests to be data drivenRussell Belfer2014-01-2422-47/+239
| | | | | | | | | | | | | | | | | | This moves the expected and actual test data along with the source data for the userdiff tests into the tests/resources/userdiff test repo and updates the test to use that.
| * | Update all tests for new pattern extractionRussell Belfer2014-01-241-4/+4
| | |
| * | Implement matched pattern extract for fn headersRussell Belfer2014-01-241-2/+2
| | |
| * | Fix filemode updating in diff textRussell Belfer2014-01-241-7/+15
| | |
| * | Import git drivers and test HTML driverRussell Belfer2014-01-241-24/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganize the builtin driver table slightly so that core Git builtin definitions can be imported verbatim. Then take a few of the core Git drivers and pull them in. This also creates a test of diffs with the builtin HTML driver which led to some small error handling fixes in the driver selection logic.
* | | Merge pull request #2075 from libgit2/cmn/leftover-oidVicent Marti2014-01-2726-128/+128
|\ \ \ | | | | | | | | Leftover OID -> ID changes
| * | | merge: rename _oid() -> id()Carlos Martín Nieto2014-01-253-49/+49
| | | | | | | | | | | | | | | | Following the rest of the series, use 'id' when refering to the value.
| * | | diff: rename the file's 'oid' to 'id'Carlos Martín Nieto2014-01-252-18/+18
| | | | | | | | | | | | | | | | In the same vein as the previous commits in this series.
| * | | index: rename an entry's id to 'id'Carlos Martín Nieto2014-01-2520-57/+57
| | | | | | | | | | | | | | | | This was not converted when we converted the rest, so do it now.
| * | | note: rename the id getter to git_note_id()Carlos Martín Nieto2014-01-242-4/+4
| |/ / | | | | | | | | | This was left over when we did the general switch.
* | | Merge pull request #2077 from libgit2/cmn/buf-outVicent Marti2014-01-279-170/+97
|\ \ \ | | | | | | | | Buff up returning strings
| * | | refspec: move to git_buf for outputting stringsCarlos Martín Nieto2014-01-272-15/+8
| | | |
| * | | messsage: use git_buf in prettify()Carlos Martín Nieto2014-01-272-65/+30
| | | | | | | | | | | | | | | | | | | | A lot of the tests were checking for overflow, which we don't have anymore, so we can remove them.