[PATCH] Update the spec file so it can build and install the documentation
[git.git] / git-reset-script
index eaefd00..0c02aa6 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
+. git-sh-setup-script || die "Not a git archive"
 git-read-tree --reset HEAD
 git-update-cache --refresh
+rm -f "$GIT_DIR/MERGE_HEAD"