aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/commitgraph/file.go
Commit message (Collapse)AuthorAgeFilesLines
* error strings: Don't capitalize, use periods, or newlinesAbhinav Gupta2021-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | | Per [Go Code Review Comments][1], > Error strings should not be capitalized (unless beginning with proper > nouns or acronyms) or end with punctuation staticcheck's [ST1005][2] also complains about these. For example, ``` object_walker.go:63:10: error strings should not be capitalized (ST1005) object_walker.go:101:10: error strings should not be capitalized (ST1005) object_walker.go:101:10: error strings should not end with punctuation or a newline (ST1005) plumbing/format/commitgraph/file.go:17:26: error strings should not be capitalized (ST1005) ``` This fixes all instances of this issue reported by staticcheck. [1]: https://github.com/golang/go/wiki/CodeReviewComments#error-strings [2]: https://staticcheck.io/docs/checks/#ST1005
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-2/+2
|
* *: avoid unnecessary conversionsChristian Muehlhaeuser2019-07-291-1/+1
| | | | | | | No need to convert these values, they're already of the right type. Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346)
* plumbing: format/commitgraph, rename structs/fields to follow the terms used ↵Filip Navara2019-04-251-7/+7
| | | | | | by git more closely Signed-off-by: Filip Navara <navara@emclient.com>
* plumbing: format/commitgraph, clean up error handlingFilip Navara2019-04-251-2/+2
| | | | Signed-off-by: Filip Navara <navara@emclient.com>
* Split OpenFileIndex into smaller functionsFilip Navara2019-04-241-31/+50
| | | | Signed-off-by: Filip Navara <filip.navara@gmail.com>
* plumbing: format/commitgraph, add APIs for reading and writing commit-graph ↵Filip Navara2019-04-241-0/+240
files Signed-off-by: Filip Navara <filip.navara@gmail.com>