git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Cliff Schomburg <clisc@microsoft.com>
Cc: "SZEDER Gábor" <szeder.dev@gmail.com>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: "git log" does not display refs info when executed via C# Process class on Windows
Date: Fri, 09 Aug 2019 14:49:55 -0700	[thread overview]
Message-ID: <xmqqblwyc8l8.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <BN8PR21MB11566C135B1326AF1B45E4D8B7D60@BN8PR21MB1156.namprd21.prod.outlook.com> (Cliff Schomburg's message of "Fri, 9 Aug 2019 21:34:06 +0000")

Cliff Schomburg <clisc@microsoft.com> writes:

> Strangely, when I run this command:
>
> Git log origin/master --pretty=oneline --decorate -1
>
> I get the format I want from STDOUT.  However, when I try to filter it to show only the tag refs:
>
> Git log origin/master --pretty=oneline --decorate --decorate-refs=^tag* -1
>
> No refs are returned to standard output again.  Only on the command line.
>
> Does --decorate-refs not return to STDOUT?

If you are asking for tags, which does not begin with a caret "^",
perhaps drop "^" from the pattern?

The pattern is supposed to be wildmatch pattern, so it is already
left anchored, e.g. --decorate-refs=ag* won't find any tag.



  reply	other threads:[~2019-08-09 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 19:36 "git log" does not display refs info when executed via C# Process class on Windows Cliff Schomburg
2019-08-09 19:50 ` SZEDER Gábor
2019-08-09 20:11   ` Cliff Schomburg
2019-08-09 21:34   ` Cliff Schomburg
2019-08-09 21:49     ` Junio C Hamano [this message]
2019-08-09 22:16       ` Cliff Schomburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqblwyc8l8.fsf@gitster-ct.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=clisc@microsoft.com \
    --cc=git@vger.kernel.org \
    --cc=szeder.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).