diff options
author | Andy Parkins <andyparkins@gmail.com> | 2006-11-02 12:12:26 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-21 19:02:08 -0800 |
commit | 21f88ac84a024fcc73a22547e51509aa1459ab03 (patch) | |
tree | c41feb1d22e147e839ed7ef4c493439dc8a56373 /sha1_name.c | |
parent | Doc: Make comment about merging in tutorial.txt more clear (diff) | |
download | tgif-21f88ac84a024fcc73a22547e51509aa1459ab03.tar.xz |
Improve git-prune -n output
prune_object() in show_only mode would previously just show the path to the
object that would be deleted. The path the object is stored in shouldn't be
shown to users, they only know about sha1 identifiers so show that instead.
Further, the sha1 alone isn't that useful for examining what is going to be
deleted. This patch also adds the object type to the output, which makes it
easy to pick out, say, the commits and use git-show to display them.
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions