Skip to content

prepare for a rev/range that begins with a dash

Junio C Hamano git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3handle_revision_opt(): do not update argv[left++] with an unknown argrevision.c+2 -20 replies
2/3setup_revisions(): swap if/else bodies to make the next step more readablerevision.c+3 -40 replies
3/3setup_revisions(): allow a rev that begins with a dashrevision.c+12 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] prepare for a rev/range that begins with a dash

It turns out that telling handle_revision_opt() not to molest argv[left++] does not have heavy fallout.

Junio C Hamano (3):
handle_revision_opt(): do not update argv[left++] with an unknown arg setup_revisions(): swap if/else bodies to make the next step more readable setup_revisions(): allow a rev that begins with a dash

 revision.c | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)
Signature · 1 line
2.12.0-rc1-212-ga9adfb24fa