Skip to content

Decorate grafts and replaces

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5decoration: do not mis-decorate refs with same prefixlog-tree.c+3 -31 reply
2/5Add for_each_commit_graft() to iterate all graftscommit.c commit.h+10 -00 replies
3/5Move write_shallow_commits to fetch-pack.cbuiltin/fetch-pack.c commit.c commit.h+30 -191 reply
4/5log: decorate grafted commits with "grafted"log-tree.c+12 -01 reply
5/5log: decorate "replaced" on to replaced commitslog-tree.c+15 -12 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Decorate grafts and replaces

I originally wanted to decorate shallow cut points. Now it decorates all grafts (normal as well as shallow cuts) and replaced commits/tags.

The first patch is an independent fix. The last one, decorating replaces, can also be considered a fix (decorating "refs/replace/SHA1" on random commits does not sound right, but maybe it's just me).

Nguyễn Thái Ngọc Duy (5):
decoration: do not mis-decorate refs with same prefix Add for_each_commit_graft() to iterate all grafts Move write_shallow_commits to fetch-pack.c
log: decorate grafted commits with "grafted"
log: decorate "replaced" on to replaced commits

 builtin/fetch-pack.c |   30 ++++++++++++++++++++++++++++++
 commit.c             |   20 +++++---------------
 commit.h             |    3 ++-
 log-tree.c           |   34 ++++++++++++++++++++++++++++++----
 4 files changed, 67 insertions(+), 20 deletions(-)
Signature · 1 line
1.7.4.74.g639db