RE: "git log" does not display refs info when executed via C# Process class on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, I will try that as well.  Strange it works on command line but not STDOUT though.

-----Original Message-----
From: Junio C Hamano <gitster@xxxxxxxxx> 
Sent: Friday, August 9, 2019 5:50 PM
To: Cliff Schomburg <clisc@xxxxxxxxxxxxx>
Cc: SZEDER Gábor <szeder.dev@xxxxxxxxx>; git@xxxxxxxxxxxxxxx
Subject: Re: "git log" does not display refs info when executed via C# Process class on Windows

Cliff Schomburg <clisc@xxxxxxxxxxxxx> 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.






[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux