Code

Squelch `removal' message from 'git reset --hard'.
authorJunio C Hamano <junkio@cox.net>
Fri, 9 Sep 2005 06:14:33 +0000 (23:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 9 Sep 2005 06:16:52 +0000 (23:16 -0700)
We do not say anything about checking out, so mentioning removal only
gets unnecessarily alarming.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-reset.sh

index 04c1ac0fd2e9e147f89b92cdd831572d53bcfb88..e028ff65dba75699580d47fbbe3fa6825774af83 100755 (executable)
@@ -84,7 +84,7 @@ case "$reset_type" in
                                print "$_\0";
                        }
                }
-       ' $tmp-exists | xargs -0 rm -v -f --
+       ' $tmp-exists | xargs -0 rm -f --
        ;;
 --soft )
        ;; # Nothing else to do