author | Michael J Gruber <git@drmicha.warpmail.net> | |
Fri, 14 May 2010 21:42:07 +0000 (23:42 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 20 May 2010 06:57:18 +0000 (23:57 -0700) | ||
commit | a9f2adff802308481f2e638bae0c5b6e205251a3 | |
tree | d07556227fcb7ff083ab7032751b247052c6a9d2 | tree | snapshot |
parent | 0e4607c09d72ada4942ea49298dba83ec4145892 | commit | diff |
notes: dry-run and verbose options for prune
Introduce -n and -v options for "git notes prune" in complete analogy to
"git prune" so that one can check for dangling notes easily.
The output is a list of names of objects whose notes would be resp.
are removed so that one can check the object ("git show sha1") as well as
the note ("git notes show sha1").
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Introduce -n and -v options for "git notes prune" in complete analogy to
"git prune" so that one can check for dangling notes easily.
The output is a list of names of objects whose notes would be resp.
are removed so that one can check the object ("git show sha1") as well as
the note ("git notes show sha1").
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-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 | |
notes.c | diff | blob | history | |
notes.h | diff | blob | history | |
t/t3306-notes-prune.sh | diff | blob | history |