]> git.ipfire.org Git - thirdparty/git.git/commit
doc: notes: treat --stdin equally between copy/remove
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 27 May 2025 21:19:37 +0000 (23:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 22:31:07 +0000 (15:31 -0700)
commit45113e142e188bed5a747fd8a45629bc83c9e3eb
treedd41829bd8cd2132f2b6ac1ddd35b619bbfae41a
parent6dcec8930c13dabaaa8bebf9fd18e6ffdcb06cc5
doc: notes: treat --stdin equally between copy/remove

46538012d94 (notes remove: --stdin reads from the standard input,
2011-05-18) added `--stdin` for the `remove` subcommand, documenting it
in the “Options” section.  But `copy --stdin` was added before that, in
160baa0d9cb (notes: implement 'git notes copy --stdin', 2010-03-12).

Treat this option equally between the two subcommands:

• remove: mention `--stdin` on the subcommand as well, like for `copy`
• copy: mention it as well under the option documentation

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-notes.adoc