Add a script to edit/inspect notes
The script 'git notes' allows you to edit and show commit notes, by calling either git notes show <commit> or git notes edit <commit> This patch has been improved by the following contributions: - Tor Arne Vestbø: fix printing of multi-line notes - Michael J Gruber: test and handle empty notes gracefully - Thomas Rast: - only clean up message file when editing - use GIT_EDITOR and core.editor over VISUAL/EDITOR - t3301: fix confusing quoting in test for valid notes ref - t3301: use test_must_fail instead of ! - refuse to edit notes outside refs/notes/ - Junio C Hamano: tests: fix "export var=val" - Christian Couder: documentation: fix 'linkgit' macro in "git-notes.txt" - Johan Herland: minor cleanup and bugfixing in git-notes.sh (v2) Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: NTor Arne Vestbø <tavestbo@trolltech.com> Signed-off-by: NMichael J Gruber <git@drmicha.warpmail.net> Signed-off-by: NThomas Rast <trast@student.ethz.ch> Signed-off-by: NChristian Couder <chriscool@tuxfamily.org> Signed-off-by: NJohan Herland <johan@herland.net> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
Documentation/git-notes.txt
0 → 100644
git-notes.sh
0 → 100755
t/t3301-notes.sh
0 → 100755
想要评论请 注册 或 登录