git-pack-objects: do the delta search in reverse size order
[gitweb.git] / git-reset-script
index eaefd00d9d1e8adddb56040af0156d209815cc89..fe773388c9d55fdb87967bc04765fa94a83bf2c7 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
+: ${GIT_DIR=.git}
 git-read-tree --reset HEAD
 git-update-cache --refresh
+rm -f "$GIT_DIR/MERGE_HEAD"