diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2015-09-28 16:01:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-08 12:42:06 -0700 |
commit | 14886b40c552d3ad4d5492d922948d76762af198 (patch) | |
tree | 9cc35d6373299ae26e6e37bdba01ec4c2688873b /builtin/checkout.c | |
parent | gc: demonstrate failure with stale remote HEAD (diff) | |
download | tgif-14886b40c552d3ad4d5492d922948d76762af198.tar.xz |
pack-objects: do not get distracted by broken symrefs
It is quite possible for, say, a remote HEAD to become broken, e.g.
when the default branch was renamed.
We should still be able to pack our objects when such a thing happens;
simply ignore broken symrefs (because they cannot matter for the packing
process anyway).
This fixes https://github.com/git-for-windows/git/issues/423
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions