Junio C Hamano <junkio@xxxxxxx> wrote: > "Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > > > Teach git-describe how to run name-rev > > Sorry for a belated question, but is there a reason not to do > this (on top)? Nope, I just completely missed it. Please make it so! ;-) > diff --git a/builtin-describe.c b/builtin-describe.c > index efbd43f..2a32af6 100644 > --- a/builtin-describe.c > +++ b/builtin-describe.c > @@ -283,8 +283,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix) > nr[2] = "--tags"; > memcpy(nr + 3, argv + i, (argc - i) * sizeof(char*)); > nr[3 + argc - i] = NULL; > - execv_git_cmd(nr); > - die("unable to start %s", nr[0]); > + return cmd_name_rev(3 + argc - i, nr, prefix); > } > > if (argc <= i) > -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html