author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 3 Mar 2008 02:34:43 +0000 (21:34 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 3 Mar 2008 08:05:45 +0000 (00:05 -0800) | ||
commit | 7f98428d4beb24b564acbbfa779391467aab6f03 | |
tree | bb5f7b3eaacec21c667be5e3cd652c6f7d292113 | tree | snapshot |
parent | ff655a69df524c71464968f823a4826f2d43d7c6 | commit | diff |
Remove unnecessary delaying of free_refs(ref_map) in builtin-fetch
We can free this ref_map as soon as the fetch is complete. It is not
used for the automatic tag following, nor is it used to disconnect the
transport. This avoids some confusion about why we are holding onto
these refs while following tags.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We can free this ref_map as soon as the fetch is complete. It is not
used for the automatic tag following, nor is it used to disconnect the
transport. This avoids some confusion about why we are holding onto
these refs while following tags.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c | diff | blob | history |