refs: manage current_ref within do_one_ref()
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 10 Apr 2012 05:30:14 +0000 (07:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Apr 2012 22:51:52 +0000 (15:51 -0700)
commit429213e47039e6c60dd7ffcf4b32bf5bb3515690
tree0c595fc05ffcc1de050e301b4794ef068405756b
parentbc5fd6d3c29f1a734ebd202573b39c1f66c41744
refs: manage current_ref within do_one_ref()

Set and clear current_ref within do_one_ref() instead of setting it
here and leaving it to somebody else to clear it.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c