Skip to content

"log --first-parent --simplify-merges/by-decoration"

Junio C Hamano git 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3revision: "simplify" options imply topo-order sortrevision.c+2 -20 replies
2/3revision: note the lack of free() in simplify_merges()revision.c+16 -70 replies
3/3revision: ignore side parents while running simplify-mergesrevision.c+11 -30 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/3] "log --first-parent --simplify-merges/by-decoration"

It is unclear what it means to "simplify-merges" while traversing only the "first-parent" ancestry chain, but the combination of the options makes the simplification logic to use in-core commit objects that haven't been examined for relevance, either producing incorrect result or taking too long to produce any output.

Teach the simplification logic to ignore commits that the first-parent traversal logic ignored when both are in effect to work around the issue.

Junio C Hamano (3):
revision: "simplify" options imply topo-order sort
revision: note the lack of free() in simplify_merges()
revision: ignore side parents while running simplify-merges

 revision.c | 41 +++++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.11.1.29.gf71be5c