author | Johan Herland <johan@herland.net> | |
Sat, 13 Feb 2010 21:28:28 +0000 (22:28 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Feb 2010 03:36:15 +0000 (19:36 -0800) | ||
commit | d6576e1fe3ee4bd7bd2cf01d17499c94da24876f | |
tree | e0d6fa73ea4ed0b9eaca0d2a23c689622909a13f | tree | snapshot |
parent | 00fbe63627b72c807e558643f0634e435137122f | commit | diff |
builtin-notes: Add "prune" subcommand for removing notes for missing objects
"git notes prune" will remove all notes that annotate unreachable/non-
existing objects.
The patch includes tests verifying correct behaviour of the new subcommand.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git notes prune" will remove all notes that annotate unreachable/non-
existing objects.
The patch includes tests verifying correct behaviour of the new subcommand.
Suggested-by: Junio C Hamano <gitster@pobox.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 | |
builtin-notes.c | diff | blob | history | |
t/t3306-notes-prune.sh | [new file with mode: 0755] | blob |