git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] Convert parts of refs.c to struct object_id
@ 2015-03-20 19:28 brian m. carlson
  2015-03-20 19:28 ` [PATCH 01/16] refs: convert struct ref_entry to use " brian m. carlson
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: brian m. carlson @ 2015-03-20 19:28 UTC (permalink / raw)
  To: git
  Cc: Andreas Schwab, Kyle J. McKay, Nguyen Thai Ngoc Duy,
	Johannes Sixt, David Kastrup, James Denholm

This is part 1 of n in converting code to use struct object_id.

refs.c, and the for_each_ref series of functions particularly, is the
source for many instances of object IDs in the codebase.  Therefore, it
makes sense to convert this series of functions to provide a basis for
further conversions.

This series is essentially just for_each_ref and friends, the callbacks,
and callers.  Other parts of refs.c will be converted in a later series,
so as to keep the number of patches to a reasonable size.

There should be no functional change from this patch series.

This series is based on top of the bc/object-id series in pu.  The
series will be rebased on next once bc/object-id makes it into next.

Available from the following repositories in either object-id-part1 or
object-id-part1-pu (will be rebased):

  https://github.com/bk2204/git.git
  https://git.crustytoothpaste.net/git/bmc/git.git

brian m. carlson (16):
  refs: convert struct ref_entry to use struct object_id
  refs: convert for_each_tag_ref to struct object_id
  refs: convert remaining users of for_each_ref_in to object_id
  refs: convert for_each_ref_in_submodule to object_id
  refs: convert head_ref to struct object_id
  refs: convert for_each_ref_submodule to struct object_id
  revision: remove unused _oid helper.
  refs: convert for_each_ref to struct object_id
  refs: convert for_each_replace_ref to struct object_id
  refs: convert namespaced ref iteration functions to object_id
  refs: convert for_each_rawref to struct object_id.
  refs: rename do_for_each_ref_oid to do_for_each_ref
  refs: convert for_each_reflog to struct object_id
  refs: rename each_ref_fn_oid to each_ref_fn
  Remove unneeded *_oid functions.
  refs: convert struct ref_lock to struct object_id

 Documentation/technical/api-ref-iteration.txt |   2 +-
 bisect.c                                      |   8 +-
 builtin/branch.c                              |   4 +-
 builtin/checkout.c                            |   4 +-
 builtin/describe.c                            |  12 +--
 builtin/fetch.c                               |   6 +-
 builtin/for-each-ref.c                        |   4 +-
 builtin/fsck.c                                |  18 ++---
 builtin/name-rev.c                            |   6 +-
 builtin/pack-objects.c                        |  14 ++--
 builtin/receive-pack.c                        |   4 +-
 builtin/reflog.c                              |   8 +-
 builtin/remote.c                              |  14 ++--
 builtin/replace.c                             |  14 ++--
 builtin/rev-parse.c                           |   8 +-
 builtin/show-branch.c                         |  24 +++---
 builtin/show-ref.c                            |  16 ++--
 builtin/tag.c                                 |   8 +-
 fetch-pack.c                                  |  18 ++++-
 help.c                                        |   2 +-
 http-backend.c                                |  14 ++--
 log-tree.c                                    |  10 +--
 notes.c                                       |   2 +-
 reachable.c                                   |   4 +-
 refs.c                                        | 104 +++++++++++++-------------
 refs.h                                        |   6 +-
 remote.c                                      |   8 +-
 replace_object.c                              |   4 +-
 revision.c                                    |  18 +++--
 server-info.c                                 |   6 +-
 sha1_name.c                                   |   4 +-
 shallow.c                                     |   8 +-
 submodule.c                                   |   6 +-
 transport.c                                   |  10 +--
 upload-pack.c                                 |  28 +++----
 walker.c                                      |   4 +-
 36 files changed, 224 insertions(+), 206 deletions(-)

-- 
2.2.1.209.g41e5f3a

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

end of thread, other threads:[~2015-03-20 19:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20 19:28 [PATCH 00/16] Convert parts of refs.c to struct object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 01/16] refs: convert struct ref_entry to use " brian m. carlson
2015-03-20 19:28 ` [PATCH 02/16] refs: convert for_each_tag_ref to " brian m. carlson
2015-03-20 19:28 ` [PATCH 03/16] refs: convert remaining users of for_each_ref_in to object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 04/16] refs: convert for_each_ref_in_submodule " brian m. carlson
2015-03-20 19:28 ` [PATCH 05/16] refs: convert head_ref to struct object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 06/16] refs: convert for_each_ref_submodule " brian m. carlson
2015-03-20 19:28 ` [PATCH 07/16] revision: remove unused _oid helper brian m. carlson
2015-03-20 19:28 ` [PATCH 08/16] refs: convert for_each_ref to struct object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 09/16] refs: convert for_each_replace_ref " brian m. carlson
2015-03-20 19:28 ` [PATCH 10/16] refs: convert namespaced ref iteration functions to object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 11/16] refs: convert for_each_rawref to struct object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 12/16] refs: rename do_for_each_ref_oid to do_for_each_ref brian m. carlson
2015-03-20 19:28 ` [PATCH 13/16] refs: convert for_each_reflog to struct object_id brian m. carlson
2015-03-20 19:28 ` [PATCH 14/16] refs: rename each_ref_fn_oid to each_ref_fn brian m. carlson
2015-03-20 19:28 ` [PATCH 15/16] Remove unneeded *_oid functions brian m. carlson
2015-03-20 19:28 ` [PATCH 16/16] refs: convert struct ref_lock to struct object_id brian m. carlson
2015-03-20 19:52 ` [PATCH 00/16] Convert parts of refs.c " Junio C Hamano
2015-03-20 19:55   ` brian m. carlson

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