WithIgnoreError ignores all errors from the command.
()
| 109 | |
| 110 | // WithIgnoreError ignores all errors from the command. |
| 111 | func WithIgnoreError() Option { |
| 112 | return func(b *GitCLI) { |
| 113 | b.ignoreError = true |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | // WithConfig merges git config key-value pairs into the environment using |
| 118 | // GIT_CONFIG_COUNT/KEY_i/VALUE_i so they propagate to all child processes. |