Merge branch 'mk/reachable-protect-detached-head' into maint
commit421ec4f8d1f616ba3cb82204e9973be45b61eea0
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 Sep 2014 05:10:04 +0000 (29 22:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Sep 2014 05:10:04 +0000 (29 22:10 -0700)
tree1e10a75548a514ba5be98dd3431c1e0713ee9f07
parent5b830a8588f7d20a18e9ce7c886085ddfd7127d7
parentc40fdd01dd120c8c63da5e830ccdeb1518434bd6
Merge branch 'mk/reachable-protect-detached-head' into maint

Reachability check (used in "git prune" and friends) did not add a
detached HEAD as a starting point to traverse objects still in use.

* mk/reachable-protect-detached-head:
  reachable.c: add HEAD to reachability starting commits