aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-notes.txt
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2010-02-13 22:28:20 +0100
committerJunio C Hamano <gitster@pobox.com>2010-02-13 19:36:13 -0800
commitcd067d3bf4ea3f89969cd143be3e281e1c5ac58a (patch)
tree0125d61613bd0b9482cbe2e7bf6e1961c9507d23 /Documentation/git-notes.txt
parent73f464b5f3fe4dd5109b9fb9e58c1fe55393902d (diff)
downloadgit-cd067d3bf4ea3f89969cd143be3e281e1c5ac58a.tar.gz
Builtin-ify git-notes
The builtin-ification includes some minor behavioural changes to the command-line interface: It is no longer allowed to mix the -m and -F arguments, and it is not allowed to use multiple -F options. As part of the builtin-ification, we add the commit_notes() function to the builtin API. This function (together with the notes.h API) can be easily used from other builtins to manipulate the notes tree. Also includes needed changes to t3301. This patch has been improved by the following contributions: - Stephen Boyd: Use die() instead of fprintf(stderr, ...) followed by exit(1) Cc: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-notes.txt')
-rw-r--r--Documentation/git-notes.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index d4487cab52..0d1ada6a0c 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -37,14 +37,12 @@ OPTIONS
-------
-m <msg>::
Use the given note message (instead of prompting).
- If multiple `-m` (or `-F`) options are given, their
- values are concatenated as separate paragraphs.
+ If multiple `-m` options are given, their values
+ are concatenated as separate paragraphs.
-F <file>::
Take the note message from the given file. Use '-' to
read the note message from the standard input.
- If multiple `-F` (or `-m`) options are given, their
- values are concatenated as separate paragraphs.
Author