aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2025-05-27 23:19:36 +0200
committerJunio C Hamano <gitster@pobox.com>2025-05-27 15:31:07 -0700
commit6dcec8930c13dabaaa8bebf9fd18e6ffdcb06cc5 (patch)
treee227aace520d94f71c249cc09878214ef501cd20
parentdoc: notes: clearly state that --stripspace is the default (diff)
downloadgit-6dcec8930c13dabaaa8bebf9fd18e6ffdcb06cc5.tar.gz
git-6dcec8930c13dabaaa8bebf9fd18e6ffdcb06cc5.zip
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>
Diffstat (limited to '')
-rw-r--r--Documentation/git-notes.adoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-notes.adoc b/Documentation/git-notes.adoc
index ef5a939516..9ce71ec345 100644
--- a/Documentation/git-notes.adoc
+++ b/Documentation/git-notes.adoc
@@ -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