git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/17] Clean up how fetch_pack() handles the heads list
@ 2012-08-25  6:44 mhagger
  2012-08-25  6:44 ` [PATCH v2 01/17] t5500: add tests of error output for missing refs mhagger
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: mhagger @ 2012-08-25  6:44 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Jeff King, Philip Oakley, git, Michael Haggerty

From: Michael Haggerty <mhagger@alum.mit.edu>

Re-roll, incorporating Jeff's suggestions.  Some commit messages have
also been improved, but the only interdiff is that match_pos is
renamed to head_pos in filter_refs().

This patch series applies to the merge between master and
jc/maint-push-refs-all, though the dependency on the latter is only
textual.

Michael Haggerty (17):
  t5500: add tests of error output for missing refs
  Rename static function fetch_pack() to http_fetch_pack()
  Fix formatting.
  Name local variables more consistently
  Do not check the same head_pos twice
  Let fetch_pack() inform caller about number of unique heads
  Pass nr_heads to do_pack_ref() by reference
  Pass nr_heads to everything_local() by reference
  Pass nr_heads to filter_refs() by reference
  Remove ineffective optimization
  filter_refs(): do not leave gaps in return_refs
  filter_refs(): compress unmatched refs in heads array
  cmd_fetch_pack: return early if finish_connect() returns an error
  Report missing refs even if no existing refs were received
  cmd_fetch_pack(): simplify computation of return value
  fetch_pack(): free matching heads
  filter_refs(): simplify logic

 builtin/fetch-pack.c  | 128 ++++++++++++++++++++------------------------------
 fetch-pack.h          |  19 +++++---
 http-walker.c         |   4 +-
 t/t5500-fetch-pack.sh |  32 ++++++++++++-
 transport.c           |   8 ++--
 5 files changed, 101 insertions(+), 90 deletions(-)

-- 
1.7.11.3

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-08-26 17:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-25  6:44 [PATCH v2 00/17] Clean up how fetch_pack() handles the heads list mhagger
2012-08-25  6:44 ` [PATCH v2 01/17] t5500: add tests of error output for missing refs mhagger
2012-08-25  6:44 ` [PATCH v2 02/17] Rename static function fetch_pack() to http_fetch_pack() mhagger
2012-08-25  6:44 ` [PATCH v2 03/17] Fix formatting mhagger
2012-08-25  6:44 ` [PATCH v2 04/17] Name local variables more consistently mhagger
2012-08-25  6:44 ` [PATCH v2 05/17] Do not check the same head_pos twice mhagger
2012-08-25  6:44 ` [PATCH v2 06/17] Let fetch_pack() inform caller about number of unique heads mhagger
2012-08-25  6:44 ` [PATCH v2 07/17] Pass nr_heads to do_pack_ref() by reference mhagger
2012-08-25  6:44 ` [PATCH v2 08/17] Pass nr_heads to everything_local() " mhagger
2012-08-25  6:44 ` [PATCH v2 09/17] Pass nr_heads to filter_refs() " mhagger
2012-08-25  6:44 ` [PATCH v2 10/17] Remove ineffective optimization mhagger
2012-08-25  6:44 ` [PATCH v2 11/17] filter_refs(): do not leave gaps in return_refs mhagger
2012-08-25  6:44 ` [PATCH v2 12/17] filter_refs(): compress unmatched refs in heads array mhagger
2012-08-25  6:44 ` [PATCH v2 13/17] cmd_fetch_pack: return early if finish_connect() returns an error mhagger
2012-08-25  6:44 ` [PATCH v2 14/17] Report missing refs even if no existing refs were received mhagger
2012-08-25  6:44 ` [PATCH v2 15/17] cmd_fetch_pack(): simplify computation of return value mhagger
2012-08-25  6:44 ` [PATCH v2 16/17] fetch_pack(): free matching heads mhagger
2012-08-25  6:44 ` [PATCH v2 17/17] filter_refs(): simplify logic mhagger
2012-08-26 17:20 ` [PATCH v2 00/17] Clean up how fetch_pack() handles the heads list Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).