aboutsummaryrefslogtreecommitdiffstats
path: root/internal/revision/parser.go
Commit message (Collapse)AuthorAgeFilesLines
* revision: fix endless looping in revision parserMichael Henriksen2022-02-191-0/+4
| | | | | | | | | | | 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
* Merge pull request #125 from cristaloleg/minor-linter-fixesMáximo Cuadros2020-07-161-3/+3
|\ | | | | *: minor linter fixes
| * Minor linter fixesOleg Kovalov2020-07-061-3/+3
| |
* | Support partial hashes in Repository.ResolveRevision.David Symonds2020-07-161-1/+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 typos in comments, variables and function namesOleksandr Redko2019-10-241-1/+1
| | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
* all: fixes for ineffective assignferhat elmas2017-11-261-1/+1
|
* Add revision implementation (#139)Anthony HAMON2017-02-061-0/+622