Revert "check_packed_git_idx(): check integrity of the idx file itself."

This reverts c5ced64578a82b9d172aceb2f67c6fb9e639f6d9 commit.
It turns out that doing this check every time we map the idx file
is quite expensive.  A corrupt idx file is caught by git-fsck-objects,
so this check is not strictly necessary.

In one unscientific test, 0.99.9m spent 10 seconds usertime for
the same task 1.1.3 takes 37 seconds usertime.  Reverting this gives
us the performance of 0.99.9 back.
1 file changed
tree: d09a24007dad4963163049402b29519209b051a5
  1. arm/
  2. compat/
  3. Documentation/
  4. mozilla-sha1/
  5. ppc/
  6. t/
  7. templates/
  8. .gitignore
  9. apply.c
  10. blob.c
  11. blob.h
  12. cache.h
  13. cat-file.c
  14. check-ref-format.c
  15. checkout-index.c
  16. clone-pack.c
  17. commit-tree.c
  18. commit.c
  19. commit.h
  20. config.c
  21. connect.c
  22. convert-objects.c
  23. copy.c
  24. COPYING
  25. count-delta.c
  26. count-delta.h
  27. csum-file.c
  28. csum-file.h
  29. ctype.c
  30. daemon.c
  31. date.c
  32. delta.h
  33. diff-delta.c
  34. diff-files.c
  35. diff-index.c
  36. diff-stages.c
  37. diff-tree.c
  38. diff.c
  39. diff.h
  40. diffcore-break.c
  41. diffcore-order.c
  42. diffcore-pathspec.c
  43. diffcore-pickaxe.c
  44. diffcore-rename.c
  45. diffcore.h
  46. entry.c
  47. environment.c
  48. epoch.c
  49. epoch.h
  50. fetch-clone.c
  51. fetch-pack.c
  52. fetch.c
  53. fetch.h
  54. fsck-objects.c
  55. get-tar-commit-id.c
  56. git-add.sh
  57. git-am.sh
  58. git-applymbox.sh
  59. git-applypatch.sh
  60. git-archimport.perl
  61. git-bisect.sh
  62. git-branch.sh
  63. git-checkout.sh
  64. git-cherry.sh
  65. git-clone.sh
  66. git-commit.sh
  67. git-compat-util.h
  68. git-count-objects.sh
  69. git-cvsexportcommit.perl
  70. git-cvsimport.perl
  71. git-diff.sh
  72. git-fetch.sh
  73. git-fmt-merge-msg.perl
  74. git-format-patch.sh
  75. git-grep.sh
  76. git-log.sh
  77. git-lost-found.sh
  78. git-ls-remote.sh
  79. git-merge-octopus.sh
  80. git-merge-one-file.sh
  81. git-merge-ours.sh
  82. git-merge-recursive.py
  83. git-merge-resolve.sh
  84. git-merge-stupid.sh
  85. git-merge.sh
  86. git-mv.perl
  87. git-parse-remote.sh
  88. git-prune.sh
  89. git-pull.sh
  90. git-push.sh
  91. git-rebase.sh
  92. git-relink.perl
  93. git-repack.sh
  94. git-request-pull.sh
  95. git-reset.sh
  96. git-resolve.sh
  97. git-revert.sh
  98. git-send-email.perl
  99. git-sh-setup.sh
  100. git-shortlog.perl
  101. git-status.sh
  102. git-svnimport.perl
  103. git-tag.sh
  104. git-verify-tag.sh
  105. git-whatchanged.sh
  106. git.c
  107. git.spec.in
  108. gitk
  109. gitMergeCommon.py
  110. hash-object.c
  111. http-fetch.c
  112. http-push.c
  113. http.c
  114. http.h
  115. ident.c
  116. index-pack.c
  117. index.c
  118. init-db.c
  119. INSTALL
  120. local-fetch.c
  121. ls-files.c
  122. ls-tree.c
  123. mailinfo.c
  124. mailsplit.c
  125. Makefile
  126. merge-base.c
  127. merge-index.c
  128. mktag.c
  129. name-rev.c
  130. object.c
  131. object.h
  132. pack-check.c
  133. pack-objects.c
  134. pack-redundant.c
  135. pack.h
  136. patch-delta.c
  137. patch-id.c
  138. path.c
  139. peek-remote.c
  140. pkt-line.c
  141. pkt-line.h
  142. prune-packed.c
  143. quote.c
  144. quote.h
  145. read-cache.c
  146. read-tree.c
  147. README
  148. receive-pack.c
  149. refs.c
  150. refs.h
  151. repo-config.c
  152. rev-list.c
  153. rev-parse.c
  154. rsh.c
  155. rsh.h
  156. run-command.c
  157. run-command.h
  158. send-pack.c
  159. server-info.c
  160. setup.c
  161. sha1_file.c
  162. sha1_name.c
  163. shell.c
  164. show-branch.c
  165. show-index.c
  166. ssh-fetch.c
  167. ssh-pull.c
  168. ssh-push.c
  169. ssh-upload.c
  170. strbuf.c
  171. strbuf.h
  172. stripspace.c
  173. symbolic-ref.c
  174. tag.c
  175. tag.h
  176. tar-tree.c
  177. test-date.c
  178. test-delta.c
  179. tree-diff.c
  180. tree.c
  181. tree.h
  182. unpack-file.c
  183. unpack-objects.c
  184. update-index.c
  185. update-ref.c
  186. update-server-info.c
  187. upload-pack.c
  188. usage.c
  189. var.c
  190. verify-pack.c
  191. write-tree.c