aboutsummaryrefslogtreecommitdiffstats
path: root/internal
Commit message (Collapse)AuthorAgeFilesLines
* *: Handle paths starting with ~usernameArieh Schneier2023-07-091-0/+29
| | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* internal: Fix regression in csp-like matchJoseda Rios2023-04-152-31/+82
| | | | Signed-off-by: Joseda Rios <josriolop@gmail.com>
* revision: fix endless looping in revision parserMichael Henriksen2022-02-192-2/+9
| | | | | | | | | | | 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-162-1/+2
|/ | | | | | | | | | | | | 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
|
* plumbing: color, make package externalTom Payne2020-04-291-38/+0
|
* plumbing: diff, Add initial colored output support. Fixes #33.Tom Payne2020-04-261-0/+38
|
* Fix typos in comments, variables and function namesOleksandr Redko2019-10-243-3/+3
| | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
* Use gocheck for test.Chief2019-08-301-17/+27
| | | | Signed-off-by: Chief <admin@117.sh>
* Add tests for SSH url matching.Chief2019-08-301-0/+50
| | | | Signed-off-by: Chief <admin@117.sh>
* Add numeric username support for SSH urls.Chief2019-08-281-1/+1
| | | | Signed-off-by: Chief <admin@117.sh>
* config: add a way to see if a "remote" URL is local or notJeremy Stribling2019-02-111-0/+37
| | | | | | | | This factors out some URL-parsing code from the transport layer so it can be used by config as well. Issue: #909 Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
* all: fixes for ineffective assignferhat elmas2017-11-261-1/+1
|
* Add revision implementation (#139)Anthony HAMON2017-02-065-0/+1356
|
* internal -> coreMáximo Cuadros2015-10-313-188/+0
|
* tree and commitMáximo Cuadros2015-10-273-9/+22
|
* objects: using readers from internal.ObjectMáximo Cuadros2015-10-263-0/+175