Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-pack-objects: do the delta search in reverse size order
[gitweb.git]
/
git-reset-script
diff --git
a/git-reset-script
b/git-reset-script
index eaefd00d9d1e8adddb56040af0156d209815cc89..fe773388c9d55fdb87967bc04765fa94a83bf2c7 100755
(executable)
--- a/
git-reset-script
+++ b/
git-reset-script
@@
-1,3
+1,5
@@
#!/bin/sh
+: ${GIT_DIR=.git}
git-read-tree --reset HEAD
git-update-cache --refresh
+rm -f "$GIT_DIR/MERGE_HEAD"