Skip to content

Make "git name-rev $(git rev-parse v1.8.3)" work

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4name-ref: factor out name shortening logic from name_ref()builtin/name-rev.c+12 -72 replies
2/4name-rev: allow converting the exact object name at the tip of a refbuiltin/name-rev.c+58 -12 replies
3/4describe: use argv-arraybuiltin/describe.c+16 -154 replies
4/4describe/name-rev: tell name-rev to peel the incoming object to commit firstbuiltin/describe.c builtin/name-rev.c+26 -107 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/4] Make "git name-rev $(git rev-parse v1.8.3)" work

So here is a set of small preparatory steps to help the other topic to allow "git describe -contains v1.8.3" omit trailing "^0" from its output. We do not want to prevent people from allowing "name-rev" to convert object names other than commit-ishes.

The series should apply on 96ffd4ca (Merge branch
'nk/name-rev-abbreviated-refs', 2013-06-30).

Junio C Hamano (4):
name-ref: factor out name shortening logic from name_ref()
name-rev: allow converting the exact object name at the tip of a ref
describe: use argv-array
describe/name-rev: tell name-rev to peel the incoming object to commit first

 builtin/describe.c |  32 ++++++++-------
 builtin/name-rev.c | 113 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 112 insertions(+), 33 deletions(-)
Signature · 1 line
1.8.3.2-853-ga8cbcc9