Skip to content

Commit 68daeec

Browse files
[bugfix] Fix error when running with submodules (#194)
* Bump [email protected] Pull in get-woke/go-git#1 which adds including .git/info/exclude automatically * Remove .git/info/exclude from default ignores list since it's already handled by the go-get library
1 parent b84aaf8 commit 68daeec

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/caitlinelfring/go-env-default v1.0.0
77
github.com/fatih/color v1.13.0
88
github.com/get-woke/fastwalk v1.0.0
9-
github.com/get-woke/go-git/v5 v5.4.5
9+
github.com/get-woke/go-git/v5 v5.4.6
1010
github.com/go-git/go-billy/v5 v5.3.1
1111
github.com/mattn/go-colorable v0.1.12
1212
github.com/mitchellh/go-homedir v1.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWp
9999
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
100100
github.com/get-woke/fastwalk v1.0.0 h1:Ti8z9nf231TUhLzBuJQV/rh/b5qiuyPunYun4FpEshQ=
101101
github.com/get-woke/fastwalk v1.0.0/go.mod h1:WTDsePalrkZGMzdzn5YabupFqFmU/MjxGM2CSSc9sOo=
102-
github.com/get-woke/go-git/v5 v5.4.5 h1:s6fLBDcbOFdCF49TBioH8PeD+TVsLrhYIpZxCLbDo1o=
103-
github.com/get-woke/go-git/v5 v5.4.5/go.mod h1:FjlV7R/wWHBz6ksfGv7Q4r5P7CboJKSxPknWf6FmMf4=
102+
github.com/get-woke/go-git/v5 v5.4.6 h1:A8eJI4lb1y9VYhAoUdbNpZ8B8bYjkNKQmjpgbMnYOz4=
103+
github.com/get-woke/go-git/v5 v5.4.6/go.mod h1:FjlV7R/wWHBz6ksfGv7Q4r5P7CboJKSxPknWf6FmMf4=
104104
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
105105
github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
106106
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=

pkg/ignore/ignore.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ var defaultIgnoreFiles = []string{
2323
".gitignore",
2424
".ignore",
2525
".wokeignore",
26-
".git/info/exclude",
2726
}
2827

2928
// Given a workingDir (example: /root/proj/subDir/curDir)

0 commit comments

Comments
 (0)