You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(updating)!: introduce new update algorithm based on git merge
BREAKING CHANGE: The `-o,--conflict` flag is removed, as `git merge`
only supports inline conflicts. Omit the flag and corresponding API
parameter as of now.
BREAKING CHANGE: The `-c,--context-lines` flag is removed, as
`git merge` does not support configurable context sizes. Omit the flag
and corresponding API parameter as of now.
BREAKING CHANGE: Inline conflict marker labels are different, as
`git merge` does not support their customization.
BREAKING CHANGE: `gitattributes` settings affect Copier's internal
`git merge` call.
| `answers_file` | `PurePath` | The path for [the answers file](configuring.md#the-copier-answersyml-file) relative to `dst_path`.<br>See the [`answers_file`](configuring.md#answers_file) setting for related information. |
110
110
| `cleanup_on_error` | `bool` | When `True`, delete `dst_path` if there's an error.<br>See the [`cleanup_on_error`](configuring.md#cleanup_on_error) setting for related information. |
111
-
| `conflict` | `Literal["inline", "rej"]` | The output format of a diff code hunk when [updating][updating-a-project] a file yields conflicts.<br>See the [`conflict`](configuring.md#conflict) setting for related information. |
112
-
| `context_lines` | `PositiveInt` | Lines of context to consider when solving conflicts in updates.<br>See the [`context_lines`](configuring.md#context_lines) setting for related information. |
113
111
| `data` | `dict[str, Any]` | Answers to the questionnaire, defined in the template, provided via CLI (`-d,--data`) or API (`data`).<br>See the [`data`](configuring.md#data) setting for related information.<br>⚠️ May contain secret answers. |
114
112
| `defaults` | `bool` | When `True`, use default answers to questions.<br>See the [`defaults`](configuring.md#defaults) setting for related information. |
115
113
| `dst_path` | `PurePath` | Destination path where to render the subproject.<br>⚠️ When [updating a project](updating.md), it may be a temporary directory, as Copier's update algorithm generates fresh copies using the old and new template versions in temporary locations. |
0 commit comments