Skip to content

Commit e48ad1b

Browse files
jacob-kellergitster
authored andcommitted
notes: document cat_sort_uniq rewriteMode
Teach documentation about the cat_sort_uniq rewriteMode that got added at the same time as the equivalent merge strategy. Signed-off-by: Jacob Keller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a17c56c commit e48ad1b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Documentation/config.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1914,8 +1914,8 @@ notes.rewriteMode::
19141914
When copying notes during a rewrite (see the
19151915
"notes.rewrite.<command>" option), determines what to do if
19161916
the target commit already has a note. Must be one of
1917-
`overwrite`, `concatenate`, or `ignore`. Defaults to
1918-
`concatenate`.
1917+
`overwrite`, `concatenate`, `cat_sort_uniq`, or `ignore`.
1918+
Defaults to `concatenate`.
19191919
+
19201920
This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`
19211921
environment variable.

Documentation/git-notes.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ environment variable.
331331
notes.rewriteMode::
332332
When copying notes during a rewrite, what to do if the target
333333
commit already has a note. Must be one of `overwrite`,
334-
`concatenate`, and `ignore`. Defaults to `concatenate`.
334+
`concatenate`, `cat_sort_uniq`, or `ignore`. Defaults to
335+
`concatenate`.
335336
+
336337
This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`
337338
environment variable.
@@ -368,7 +369,7 @@ does not match any refs is silently ignored.
368369
'GIT_NOTES_REWRITE_MODE'::
369370
When copying notes during a rewrite, what to do if the target
370371
commit already has a note.
371-
Must be one of `overwrite`, `concatenate`, and `ignore`.
372+
Must be one of `overwrite`, `concatenate`, `cat_sort_uniq`, or `ignore`.
372373
This overrides the `core.rewriteMode` setting.
373374

374375
'GIT_NOTES_REWRITE_REF'::

0 commit comments

Comments
 (0)