Skip to contentSkip to conversation

git-reset: remove unused variable

PATCH New Rene Scharfe 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-reset: remove unused variable

git-reset.sh +0 -3
index 36fc8ce..3133b5b 100755
@@ -3,9 +3,6 @@ #!/bin/sh
 USAGE='[--mixed | --soft | --hard]  [<commit-ish>]'
 . git-sh-setup
 
-tmp=${GIT_DIR}/reset.$$
-trap 'rm -f $tmp-*' 0 1 2 3 15
-
 update=
 reset_type=--mixed
 case "$1" in