author | Johan Herland <johan@herland.net> | |
Sat, 13 Feb 2010 21:28:20 +0000 (22:28 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Feb 2010 03:36:13 +0000 (19:36 -0800) | ||
commit | cd067d3bf4ea3f89969cd143be3e281e1c5ac58a | |
tree | 0125d61613bd0b9482cbe2e7bf6e1961c9507d23 | tree | snapshot |
parent | 73f464b5f3fe4dd5109b9fb9e58c1fe55393902d | commit | diff |
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>
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>
Documentation/git-notes.txt | diff | blob | history | |
Makefile | diff | blob | history | |
builtin-notes.c | [new file with mode: 0644] | blob |
builtin.h | diff | blob | history | |
contrib/examples/git-notes.sh | [new file with mode: 0755] | blob |
git-notes.sh | [deleted file] | blob | history |
git.c | diff | blob | history | |
t/t3301-notes.sh | diff | blob | history |