git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/14] Tidying up references code
@ 2011-10-13  7:58 mhagger
  2011-10-13  7:58 ` [PATCH 01/14] cache.h: add comments for git_path() and git_path_submodule() mhagger
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: mhagger @ 2011-10-13  7:58 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: git, Jeff King, Drew Northup, Jakub Narebski, Heiko Voigt,
	Johan Herland, Julian Phillips, Michael Haggerty

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

This is the next installment of the reference changes that I have been
working on.  This batch includes a lot of tidying up in preparation
for the real changes.

The last few patches have a little bit of meat on them.  They start
changing the innards of refs.c to work less with strings and more with
objects.  This work will continue in later patches with the ultimate
goal of swapping the data structure used to store cached references
out from under the module--changing it from a sorted array of pointers
into a hierarchical tree shaped like the reference namespace
tree.

This patch series should be applied on top of "[PATCH v3] Provide API
to invalidate refs cache".  It has textual dependencies on that patch
series, though logically I don't think that they interact.

Michael Haggerty (14):
  cache.h: add comments for git_path() and git_path_submodule()
  struct ref_list: document name member
  refs.c: rename some local "refname" variables
  refs: rename some parameters result -> sha1
  clear_ref_list(): rename from free_ref_list()
  resolve_gitlink_ref(): improve docstring
  is_refname_available(): remove the "quiet" argument
  parse_ref_line(): add docstring
  add_ref(): add docstring
  is_dup_ref(): extract function from sort_ref_list()
  refs: change signatures of get_packed_refs() and get_loose_refs()
  get_ref_dir(): change signature
  Pass a (cached_refs *) to the resolve_gitlink_*() functions
  resolve_gitlink_ref_recursive(): change to work with struct
    cached_refs

 cache.h |   15 +++
 refs.c  |  418 +++++++++++++++++++++++++++++++++-----------------------------
 refs.h  |   34 +++--
 3 files changed, 258 insertions(+), 209 deletions(-)

-- 
1.7.7.rc2

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

end of thread, other threads:[~2011-10-14  6:41 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13  7:58 [PATCH 00/14] Tidying up references code mhagger
2011-10-13  7:58 ` [PATCH 01/14] cache.h: add comments for git_path() and git_path_submodule() mhagger
2011-10-13 18:37   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 02/14] struct ref_list: document name member mhagger
2011-10-13 18:37   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 03/14] refs.c: rename some local "refname" variables mhagger
2011-10-13  7:58 ` [PATCH 04/14] refs: rename some parameters result -> sha1 mhagger
2011-10-13 18:42   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 05/14] clear_ref_list(): rename from free_ref_list() mhagger
2011-10-13 18:43   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 06/14] resolve_gitlink_ref(): improve docstring mhagger
2011-10-13 18:48   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 07/14] is_refname_available(): remove the "quiet" argument mhagger
2011-10-13 12:41   ` Drew Northup
2011-10-13 18:49     ` Junio C Hamano
2011-10-14  5:35     ` Michael Haggerty
2011-10-13  7:58 ` [PATCH 08/14] parse_ref_line(): add docstring mhagger
2011-10-13  7:58 ` [PATCH 09/14] add_ref(): " mhagger
2011-10-13  7:58 ` [PATCH 10/14] is_dup_ref(): extract function from sort_ref_list() mhagger
2011-10-13 20:43   ` Junio C Hamano
2011-10-13  7:58 ` [PATCH 11/14] refs: change signatures of get_packed_refs() and get_loose_refs() mhagger
2011-10-13  7:58 ` [PATCH 12/14] get_ref_dir(): change signature mhagger
2011-10-13  7:58 ` [PATCH 13/14] Pass a (cached_refs *) to the resolve_gitlink_*() functions mhagger
2011-10-13  7:58 ` [PATCH 14/14] resolve_gitlink_ref_recursive(): change to work with struct cached_refs mhagger
2011-10-13  8:06 ` [PATCH] t1402-check-ref-format: skip tests of refs beginning with slash on Windows Johannes Sixt
2011-10-13 23:00   ` Junio C Hamano
2011-10-13 23:07     ` Junio C Hamano
2011-10-14  6:40       ` Johannes Sixt

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).