Merge branch 'jk/prune-with-corrupt-refs'
commit05e816e37f4eb023a3606b2942192390566c6107
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2015 19:54:26 +0000 (25 12:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2015 19:54:26 +0000 (25 12:54 -0700)
tree2f266768dd254fcc510f6a3966bb895e6ca6e798
parenta801bb8c297737d99a0b20d61a3a956f0c92a3b9
parentea56c4e02fc1d5ce6a6b5083c284e32ffc6367e6
Merge branch 'jk/prune-with-corrupt-refs'

"git prune" used to largely ignore broken refs when deciding which
objects are still being used, which could spread an existing small
damage and make it a larger one.

* jk/prune-with-corrupt-refs:
  refs.c: drop curate_packed_refs
  repack: turn on "ref paranoia" when doing a destructive repack
  prune: turn on ref_paranoia flag
  refs: introduce a "ref paranoia" flag
  t5312: test object deletion code paths in a corrupted repository
Documentation/git.txt
builtin/repack.c
cache.h
refs.c