Skip to content

Commit

Permalink
[bugfix] Fix error when running with submodules (#194)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
caitlinelfring authored May 14, 2022
1 parent b84aaf8 commit 68daeec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/caitlinelfring/go-env-default v1.0.0
github.com/fatih/color v1.13.0
github.com/get-woke/fastwalk v1.0.0
github.com/get-woke/go-git/v5 v5.4.5
github.com/get-woke/go-git/v5 v5.4.6
github.com/go-git/go-billy/v5 v5.3.1
github.com/mattn/go-colorable v0.1.12
github.com/mitchellh/go-homedir v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWp
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
github.com/get-woke/fastwalk v1.0.0 h1:Ti8z9nf231TUhLzBuJQV/rh/b5qiuyPunYun4FpEshQ=
github.com/get-woke/fastwalk v1.0.0/go.mod h1:WTDsePalrkZGMzdzn5YabupFqFmU/MjxGM2CSSc9sOo=
github.com/get-woke/go-git/v5 v5.4.5 h1:s6fLBDcbOFdCF49TBioH8PeD+TVsLrhYIpZxCLbDo1o=
github.com/get-woke/go-git/v5 v5.4.5/go.mod h1:FjlV7R/wWHBz6ksfGv7Q4r5P7CboJKSxPknWf6FmMf4=
github.com/get-woke/go-git/v5 v5.4.6 h1:A8eJI4lb1y9VYhAoUdbNpZ8B8bYjkNKQmjpgbMnYOz4=
github.com/get-woke/go-git/v5 v5.4.6/go.mod h1:FjlV7R/wWHBz6ksfGv7Q4r5P7CboJKSxPknWf6FmMf4=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
Expand Down
1 change: 0 additions & 1 deletion pkg/ignore/ignore.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var defaultIgnoreFiles = []string{
".gitignore",
".ignore",
".wokeignore",
".git/info/exclude",
}

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

0 comments on commit 68daeec

Please sign in to comment.