Re: [PATCH] git-clean: Display more accurate delete messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 6, 2012, 17:37 UTC
- Message-ID
- <7v8v9bjd44.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1354788938-26804-1-git-send-email-zoltan.klinger@gmail.com>
Zoltan Klinger <zoltan.klinger@gmail.com> writes:
Show 19 quoted lines
> Only print out the names of the files and directories that got actually > deleted. > > Consider the following repo layout: > |-- test.git/ > |-- foo/ > |-- bar/ > |-- bar.txt > |-- frotz.git/ > |-- frotz.txt > |-- tracked_file1 > |-- untracked_file1 > ... > Consider the output of the improved version: > > $ git clean -fd > Removed foo/bar/bar.txt > Removed foo/bar > Removed untracked_file1
Hrm, following your discussion (ellided above), I would have expected that you would show
Removing directory foo/bar
Removing untracked_file1