Merge branch 'mh/packed-refs-do-one-ref-recursion'
commitf1093b0f60ef28c3dab63a7d73f284426705cea1
authorJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2013 19:38:11 +0000 (31 12:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2013 19:38:12 +0000 (31 12:38 -0700)
tree9389ae2b2cdfc51ad9ea0e6075a133f04c136593
parent35f5eaa2eedcd7145ee59ff5ff2cb48e71270b81
parentd0cf51e9401b6486aaecfea5dc3b01c3bb00f271
Merge branch 'mh/packed-refs-do-one-ref-recursion'

Fix a NULL-pointer dereference during nested iterations over
references (for example, when replace references are being used).

* mh/packed-refs-do-one-ref-recursion:
  do_one_ref(): save and restore value of current_ref
refs.c