doc: notes: point out copy --stdin use with argv
Unlike `remove --stdin`, this option cannot be combined with object names given via the command line. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Kristoffer Haugsbakk committed
May 27, 2025 at 23:19 UTC
6dcec8930c13dabaaa8bebf9fd18e6ffdcb06cc5
1 file changed
+3
Documentation/git-notes.adoc
+3
@@ -87,6 +87,9 @@ In `--stdin` mode, take lines in the format
87
on standard input, and copy the notes from each _<from-object>_ to its
88
corresponding _<to-object>_. (The optional _<rest>_ is ignored so that
89
the command can read the input given to the `post-rewrite` hook.)
90
++
91
+`--stdin` cannot be combined with object names given on the command
92
+line.
93
94
`append`::
95
Append new message(s) given by `-m` or `-F` options to an