Skip to content

refs backend pre-vtable

Michael Haggerty git 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest9 of 10 patches 3 repliesIn review
  2. v710 of 11 patches 7 repliesSuperseded
  3. v625 patches 9 repliesSuperseded

9 of 10 patches are in this archive. The cover letter announces 10.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10verify_refname_available(): rename functionrefs.c+22 -220 replies
2/10verify_refname_available(): new functionrefs.c+40 -260 replies
3/10copy_msg(): rename to copy_reflog_msg()refs.c+2 -20 replies
4/10pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref()refs.c+1 -30 replies
5/10refname_is_safe(): improve docstringrefs.c+10 -60 replies
6/10refs/refs-internal.h: new header filerefs.c refs/refs-internal.h+189 -1650 replies
8/10initdb: make safe_create_dir publicbuiltin/init-db.c cache.h path.c+20 -120 replies
9/10files_log_ref_write: new functionrefs/files-backend.c refs/refs-internal.h+12 -00 replies
10/10refs: break out ref conflict checksrefs.c refs/files-backend.c refs/refs-internal.h+67 -420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 00/10] refs backend pre-vtable

Another re-roll of this patch series, to address the comments of Ramsay Jones (thanks!) about v7 [1].

This version has the following changes compared to v7:

* Drop "refs: make is_branch public" patch. This was already done quite a while ago:

      e7e0f26 refs.c: add a public is_branch function (2014-07-15)

* Instead of having refs-internal.h include refs.h, have the "*.c" files include both header files.

* Remove some unneeded includes from refs/files-backend.c.

Since patch 01/11 of v7 was omitted, the patches in this version are numbered differently. In particular, it is now patches 01 through 07 that form the core of this patch series. The last three patches can easily be postponed if that will speed the progress of the first seven.

These patches are also available from my GitHub fork [2] as branch "refs-backend-pre-vtable".

Michael

[1] http://article.gmane.org/gmane.comp.version-control.git/281057
[2] https://github.com/mhagger/git

David Turner (4):
copy_msg(): rename to copy_reflog_msg()
initdb: make safe_create_dir public
files_log_ref_write: new function
refs: break out ref conflict checks

Michael Haggerty (4):
pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref() refname_is_safe(): improve docstring
refs/refs-internal.h: new header file
refs: split filesystem-based refs code into a new file

Ronnie Sahlberg (2):
verify_refname_available(): rename function
verify_refname_available(): new function

 Makefile                       |    3 +-
 builtin/init-db.c              |   12 -
 cache.h                        |    8 +
 path.c                         |   12 +
 refs.c                         | 3709 +---------------------------------------
 refs.c => refs/files-backend.c | 1286 +-------------
 refs/refs-internal.h           |  200 +++
 7 files changed, 311 insertions(+), 4919 deletions(-)
 copy refs.c => refs/files-backend.c (75%)
 create mode 100644 refs/refs-internal.h
Signature · 1 line
2.6.2