]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-reset.sh
describe: allow more than one revs to be named.
[thirdparty/git.git] / git-reset.sh
index eb44ee8cc197b7ff11159cf046b790cf693d3a72..6c9e58ad9a727ab5091b0de02e089b82cb8331dd 100755 (executable)
@@ -3,7 +3,7 @@
 USAGE='[--mixed | --soft | --hard]  [<commit-ish>]'
 . git-sh-setup
 
-tmp=/var/tmp/reset.$$
+tmp=${GIT_DIR}/reset.$$
 trap 'rm -f $tmp-*' 0 1 2 3 15
 
 reset_type=--mixed