]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: notes: point out copy --stdin use with argv
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 27 May 2025 21:19:36 +0000 (23:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 22:31:07 +0000 (15:31 -0700)
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>
Documentation/git-notes.adoc

index ef5a939516e11658aea3a391ce0742c1deaaf796..9ce71ec34552c58cd7c3ae95ef09a7d2d28eba93 100644 (file)
@@ -87,6 +87,9 @@ In `--stdin` mode, take lines in the format
 on standard input, and copy the notes from each _<from-object>_ to its
 corresponding _<to-object>_.  (The optional _<rest>_ is ignored so that
 the command can read the input given to the `post-rewrite` hook.)
++
+`--stdin` cannot be combined with object names given on the command
+line.
 
 `append`::
        Append new message(s) given by `-m` or `-F` options to an