Skip to content

Commit

Permalink
allow omitting writes for git config default values
Browse files Browse the repository at this point in the history
  • Loading branch information
jcvrabo committed Dec 13, 2024
1 parent c938e51 commit 1d912fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domain/git-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ const (

type GitConfig struct {
SourceType string `json:"type"`
DeepClone bool `json:"deepClone"`
DeepClone bool `json:"deepClone,omitempty"`
Uri string `json:"uri"`
DefaultLabel *string `json:"defaultLabel,omitempty"`
SearchPaths []string `json:"searchPaths,omitempty"`
Username *string `json:"username,omitempty"`
Password *string `json:"password,omitempty"`
PrivateKey *string `json:"privateKey,omitempty"`
SkipSslValidation bool `json:"skipSslValidation"`
FailOnFetch bool `json:"failOnFetch"`
FailOnFetch bool `json:"failOnFetch,omitempty"`
FetchCacheTtl int `json:"fetchCacheTtl,omitempty"`
}

Expand Down

0 comments on commit 1d912fb

Please sign in to comment.