Merge branch 'js/gc-with-stale-symref' into maint
commitb05c2f9ed48adfd9670b28ecdd5c55a4e4698704
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2015 22:22:41 +0000 (20 15:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2015 22:22:42 +0000 (20 15:22 -0700)
tree6392e6bbfc2cf79e3e8a9b3cac10149310e94226
parent3b7c49e9a3bbb2c2667465835fe73d623f63601e
parent14886b40c552d3ad4d5492d922948d76762af198
Merge branch 'js/gc-with-stale-symref' into maint

"git gc" used to barf when a symbolic ref has gone dangling
(e.g. the branch that used to be your upstream's default when you
cloned from it is now gone, and you did "fetch --prune").

* js/gc-with-stale-symref:
  pack-objects: do not get distracted by broken symrefs
  gc: demonstrate failure with stale remote HEAD
reachable.c