Skip to content

Commit 457bb16

Browse files
committed
update go-diff to fix time parsing issue in git 2.14
- closes #7
1 parent 048ca99 commit 457bb16

File tree

300 files changed

+31638
-17418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+31638
-17418
lines changed

glide.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

glide.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ import:
66
version: v1.2
77
- package: gopkg.in/yaml.v2
88
- package: sourcegraph.com/sourcegraph/go-diff
9-
version: 7eefa0faf57871a70d7a2c368a454593f07797bc
9+
version: 3f415a150aec0685cb81b73cc201e762e075006d
1010
subpackages:
1111
- diff

hound_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func getDiff(t *testing.T, diffContents string) (string, *diff.Hunk) {
229229

230230
fileName := fileDiff.NewName
231231

232-
for _, hunk := range fileDiff.GetHunks() {
232+
for _, hunk := range fileDiff.Hunks {
233233
return fileName, hunk
234234
}
235235

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
var (
17-
version = "0.6.1"
17+
version = "0.6.2"
1818
showVersion = flag.Bool("v", false, "Show version")
1919
noColor = flag.Bool("no-color", false, "Disable color output")
2020
config = flag.String("config", ".githound.yml", "Hound config file")
@@ -93,7 +93,7 @@ func main() {
9393

9494
for _, fileDiff := range fileDiffs {
9595
fileName := fileDiff.NewName
96-
hunks := fileDiff.GetHunks()
96+
hunks := fileDiff.Hunks
9797

9898
for _, hunk := range hunks {
9999
go func(hunk *diff.Hunk) {

vendor/github.com/gogo/protobuf/.travis.yml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/Makefile

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/Readme.md

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/_conformance/conformance_proto/conformance.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/extensions.md

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/gogo/protobuf/gogoproto/doc.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)