Marat Radchenko
482260c7e3
Fix error strings to follow Go guidelines
...
Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation:
https://github.com/golang/go/wiki/CodeReviewComments#error-strings
2019-10-22 17:33:49 +03:00
brian m. carlson
b1783f0b4d
Tidy files with Go 1.11's gofmt
...
We recently updated to Go 1.11. In that version, the output of gofmt
changed from 1.10 for a few files. Run these files through the new
gofmt to ease the development process going forward.
2018-08-31 16:59:40 +00:00
Lars Schneider
aba51b679a
move git log
invocation to git package using gitNoLFSBuffered
...
The only side effect of this refactoring should be that the Git LFS
is disabled for the Git subprocess. No other functional changes are
intended.
2017-08-22 19:34:29 +02:00
risk danger olson
81d71773a5
lfs: rename git scanner callback type
2017-02-15 16:48:47 -07:00
risk danger olson
d8ca610939
introduce gitscanner callbacks to ScanPreviousVersions()
2016-11-29 10:27:42 -07:00
risk danger olson
1ffbea6525
introduce gitscanner callbacks for ScanUnpushed()
2016-11-29 09:40:50 -07:00
risk danger olson
f85102320b
extract a filepathfilter package
2016-11-21 11:38:39 -07:00
risk danger olson
db633f336f
remove nested ifs
2016-11-21 10:51:49 -07:00
risk danger olson
fdd4c66287
remove the old parseLogOutputToPointers()
2016-11-21 10:48:36 -07:00
risk danger olson
bcea7ab252
Scan() should return true if it found a pointer
2016-11-21 10:36:35 -07:00
risk danger olson
d10c8bf621
useless debug line
2016-11-21 09:51:43 -07:00
risk danger olson
39c5b4d80e
rewrite logScanner using the scanner pattern
2016-11-21 09:50:40 -07:00
risk danger olson
c9162b6915
remove WrappedPointer Size, since it embeds Pointer
2016-11-17 17:55:06 -07:00
risk danger olson
7a2cbefaa7
extract ScanPreviousVersions
2016-11-17 15:41:19 -07:00
risk danger olson
4051dc0211
move log parsing methods to gitscanner_log.go
2016-11-17 10:23:29 -07:00