projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6146d
)
Squelch `removal' message from 'git reset --hard'.
author
Junio C Hamano
<junkio@cox.net>
Fri, 9 Sep 2005 06:14:33 +0000
(23:14 -0700)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/git-reset.sh
b/git-reset.sh
index 04c1ac0fd2e9e147f89b92cdd831572d53bcfb88..e028ff65dba75699580d47fbbe3fa6825774af83 100755
(executable)
--- a/
git-reset.sh
+++ b/
git-reset.sh
@@
-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