diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2012-09-09 08:19:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-12 11:46:31 -0700 |
commit | 4ba159996f6c1b0d6dd0a2a8bd9d6f5b342a4aa5 (patch) | |
tree | f358d131bb86e019d442b92cc1ce683b93461b44 /t/t4013/diff.log_-m_-p_--first-parent_master | |
parent | fetch_pack(): update sought->nr to reflect number of unique entries (diff) | |
download | tgif-4ba159996f6c1b0d6dd0a2a8bd9d6f5b342a4aa5.tar.xz |
filter_refs(): delete matched refs from sought list
Remove any references that are available from the remote from the
sought list (rather than overwriting their names with NUL characters,
as previously). Mark matching entries by writing a non-NULL pointer
to string_list_item::util during the iteration, then use
filter_string_list() later to filter out the entries that have been
marked.
Document this aspect of fetch_pack() in a comment in the header file.
(More documentation is obviously still needed.)
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_-m_-p_--first-parent_master')
0 files changed, 0 insertions, 0 deletions