Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix(git): git warnings sometimes break werf
Refactored true_git module: * moved common exec.Command logic into git_cmd.go * separated stdout/stderr channels for git cli commands output Fixed git warnings breaking werf dev mode by ignoring stderr whenever it is not needed.
- Loading branch information
Showing
with
264 additions
and 349 deletions.
- +2 −2 cmd/werf/build/main.go
- +2 −2 cmd/werf/bundle/export/export.go
- +2 −2 cmd/werf/bundle/publish/publish.go
- +2 −2 cmd/werf/ci_env/ci_env.go
- +3 −3 cmd/werf/cleanup/cleanup.go
- +5 −5 cmd/werf/common/common.go
- +1 −1 cmd/werf/common/follow.go
- +2 −2 cmd/werf/compose/main.go
- +2 −2 cmd/werf/config/list/list.go
- +2 −2 cmd/werf/config/render/render.go
- +2 −2 cmd/werf/converge/converge.go
- +2 −2 cmd/werf/dismiss/dismiss.go
- +2 −2 cmd/werf/export/export.go
- +2 −2 cmd/werf/helm/get_autogenerated_values.go
- +2 −2 cmd/werf/helm/get_namespace.go
- +2 −2 cmd/werf/helm/get_release.go
- +2 −2 cmd/werf/helm/secret/rotate_secret_key/rotate_secret_key.go
- +1 −1 cmd/werf/host/cleanup/cleanup.go
- +2 −2 cmd/werf/managed_images/add/add.go
- +2 −2 cmd/werf/managed_images/ls/ls.go
- +2 −2 cmd/werf/managed_images/rm/rm.go
- +2 −2 cmd/werf/purge/purge.go
- +2 −2 cmd/werf/render/render.go
- +2 −2 cmd/werf/run/run.go
- +2 −2 cmd/werf/stage/image/main.go
- +1 −1 pkg/build/conveyor.go
- +2 −2 pkg/git_repo/base.go
- +10 −10 pkg/git_repo/local.go
- +3 −3 pkg/git_repo/remote.go
- +5 −20 pkg/true_git/common.go
- +11 −14 pkg/true_git/dot_git.go
- +72 −0 pkg/true_git/git_cmd.go
- +14 −4 pkg/true_git/git_cmd_test.go
- +9 −15 pkg/true_git/init.go
- +7 −29 pkg/true_git/merge.go
- +8 −7 pkg/true_git/merge_base.go
- +9 −17 pkg/true_git/repository.go
- +6 −21 pkg/true_git/service_branch.go
- +1 −1 pkg/true_git/service_branch_test.go
- +6 −10 pkg/true_git/show_ref.go
- +7 −18 pkg/true_git/status/status.go
- +6 −31 pkg/true_git/submodule.go
- +35 −94 pkg/true_git/work_tree.go
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.