From: Brandon Casey Date: Tue, 7 Aug 2012 05:01:49 +0000 (-0700) Subject: prune.c: only print informational message in show_only or verbose mode X-Git-Tag: v1.7.12.1~27^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/90b29cb7a8213a947e08c41ea4680ced7ac7c67c?ds=sidebyside;hp=90b29cb7a8213a947e08c41ea4680ced7ac7c67c prune.c: only print informational message in show_only or verbose mode "git prune" reports removal of loose object files that are no longer necessary only under the "-v" option, but unconditionally reports removal of temporary files that are no longer needed. The original thinking was that the presence of a leftover temporary file should be an unusual occurrence that may indicate an earlier failure of some sort, and the user may want to be reminded of it. Removing an unnecessary loose object file, on the other hand, is just part of the normal operation. That is why the former is always printed out and the latter only when -v is used. But neither report is particularly useful. Hide both of these behind the "-v" option for consistency. Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano ---