summaryrefslogtreecommitdiff
path: root/tests/network/refspecs.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak in tests/network/refspecs.cJeff Hostetler2015-06-171-0/+2
|
* refspec: make sure matching refspecs have src, dst and input stringsCarlos Martín Nieto2015-05-221-0/+10
| | | | | | | | When we find out that we're dealing with a matching refspec, we set the flag and return immediately. This leaves the strings as NULL, which breaks the contract. Assign these pointers to a string with the correct values.
* Check if the refspec matches before transformingJacques Germishuys2014-08-171-5/+43
|
* refspec: support asterisks in the middle of a patternCarlos Martín Nieto2014-07-041-0/+23
| | | | | | | | | | We used to assume a refspec would only have an asterisk in the middle of their respective pattern. This has not been a valid assumption for some time now with git. Instead of assuming where the asterisk is going to be, change the logic to treat each pattern as having two halves with a replacement bit in the middle, where the asterisk is.
* Rename tests-clar to testsBen Straub2013-11-141-0/+87