aboutsummaryrefslogtreecommitdiffstats
path: root/internal/revision/parser_test.go
Commit message (Collapse)AuthorAgeFilesLines
* fuzzing : fuzz testing support for oss-fuzz integrationArjun Singh2023-10-021-0/+9
| | | | Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
* revision: fix endless looping in revision parserMichael Henriksen2022-02-191-2/+5
| | | | | | | | | | | Fixes a bug in the revision parser which caused an endless loop when parsing revisions with opening braces "{" but no closing braces "}". Example bad revisions: - ^{/ - ~@{ - @@{{0
* Support partial hashes in Repository.ResolveRevision.David Symonds2020-07-161-0/+1
| | | | | | | | | | | | | Like `git rev-parse <prefix>`, this enumerates the hashes of objects with the given prefix and adds them to the list of candidates for resolution. This has an exhaustive slow path, which requires enumerating all objects and filtering each one, but also a couple of fast paths for common cases. There's room for future work to make this faster; TODOs have been left for that. Fixes #135.
* fix goreportcard warningsOleg Kovalov2020-07-011-8/+8
|
* Fix typos in comments, variables and function namesOleksandr Redko2019-10-241-1/+1
| | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
* Add revision implementation (#139)Anthony HAMON2017-02-061-0/+395