X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-rev-parse.c;h=90dbb9d7c1a28fd463ba827cb8da2eab42e489df;hb=891e85a0c08e12d3f6174d8eb10b4ef284c4b01b;hp=b9af1a5a554e21338531b88cd34bcb767d5f3848;hpb=105c21df14531bf2fd39e05b4c3a9aa31349da06;p=git.git diff --git a/builtin-rev-parse.c b/builtin-rev-parse.c index b9af1a5a5..90dbb9d7c 100644 --- a/builtin-rev-parse.c +++ b/builtin-rev-parse.c @@ -315,7 +315,7 @@ static int cmd_parseopt(int argc, const char **argv, const char *prefix) s = strchr(sb.buf, ' '); if (!s || *sb.buf == ' ') { o->type = OPTION_GROUP; - o->help = xstrdup(skipspaces(s)); + o->help = xstrdup(skipspaces(sb.buf)); continue; }