aboutsummaryrefslogtreecommitdiffstats
path: root/prune.go
Commit message (Collapse)AuthorAgeFilesLines
* error strings: Don't capitalize, use periods, or newlinesAbhinav Gupta2021-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
|
* use time.IsZero in Pruneu5surf2018-10-021-1/+1
| | | | Signed-off-by: u5surf <u5.horie@gmail.com>
* storer: separate loose and packed object mgmt into optional ifacesJeremy Stribling2017-11-291-3/+17
| | | | Suggested by mcuadros.
* storage: some minor code cleanupJeremy Stribling2017-11-291-5/+1
| | | | | | Suggested by mcuadros. Issue: #669
* Make prune object walker genericTaru Karttunen2017-11-291-91/+2
|
* Address CI and move code aroundTaru Karttunen2017-11-291-0/+145