threads / discuss / 42387

since/after not working properly

Subject: since/after not working properly

## tl;dr

5 messages between May 19, 2016 and May 19, 2016.

replies: 4people: 2as markdown or json

Jeff Hawk· May 19, 2016, 15:41 UTC · lore

[jeff:~/src/git] master* 2s ± git log --pretty=format:"%ad" --date=short --after=2016-05-01 | sort -u 2016-04-14 2016-04-27 2016-04-29 2016-05-01 2016-05-02 2016-05-03 2016-05-04 2016-05-05 2016-05-06 2016-05-07 2016-05-08 2016-05-09 2016-05-10 2016-05-11 2016-05-12 2016-05-13 2016-05-17 2016-05-18 [jeff:~/src/git] master* ± git --version git version 2.8.2.537.gb153d2a

[jeff:~/src/git] master* ± git log --pretty=format:"%ad" --date=short --after=2016-04-01 | sort -u 2016-02-27 2016-03-08 2016-03-11 2016-03-14 2016-03-16 2016-03-18 2016-03-25 2016-03-27 2016-03-28 2016-03-30 2016-03-31 2016-04-01 2016-04-02 2016-04-03 2016-04-04 2016-04-05 2016-04-06 2016-04-07 2016-04-08 2016-04-09 2016-04-10 2016-04-12 2016-04-13 2016-04-14 2016-04-15 2016-04-17 2016-04-18 2016-04-19 2016-04-20 2016-04-21 2016-04-22 2016-04-24 2016-04-25 2016-04-26 2016-04-27 2016-04-28 2016-04-29 2016-05-01 2016-05-02 2016-05-03 2016-05-04 2016-05-05 2016-05-06 2016-05-07 2016-05-08 2016-05-09 2016-05-10 2016-05-11 2016-05-12 2016-05-13 2016-05-17 2016-05-18

Junio C Hamano· May 19, 2016, 17:27 UTC · re: Jeff Hawk · lore

Re: since/after not working properly

On Thu, May 19, 2016 at 8:41 AM, Jeff Hawk <jeff.hawk@here.com> wrote:
> [jeff:~/src/git] master* 2s ± git log --pretty=format:"%ad" --date=short
Perhaps try it with %cd instead of %ad?
Hawk, Jeff· May 19, 2016, 17:37 UTC · re: Junio C Hamano · lore

Re: since/after not working properly

Thanks Junio,
Do you think that code-maat has the wrong format documented on their github page?
At: https://github.com/adamtornhill/code-maat

They suggest this: git log --all --numstat --date=short --pretty=format:'--%h--%ad--%aN' --no-renames

Seems like the %ad should be %cd.

Regards, Jeff H

________________________________________
From: jch2355@gmail.com <jch2355@gmail.com> on behalf of Junio C Hamano <gitster@pobox.com>
Sent: Thursday, May 19, 2016 12:27:17 PM
To: Hawk, Jeff
Cc: Git Mailing List
Subject: Re: since/after not working properly
On Thu, May 19, 2016 at 8:41 AM, Jeff Hawk <jeff.hawk@here.com> wrote:
> [jeff:~/src/git] master* 2s ± git log --pretty=format:"%ad" --date=short
Perhaps try it with %cd instead of %ad?
Junio C Hamano· May 19, 2016, 19:03 UTC · re: Hawk, Jeff · lore

Re: since/after not working properly

"Hawk, Jeff" <jeff.hawk@here.com> writes:
> They suggest this:
> git log --all --numstat --date=short --pretty=format:'--%h--%ad--%aN' --no-renames
>
> Seems like the %ad should be %cd.

I have no opinion on that. If somebody wants to show author dates, that's her choice.

Hawk, Jeff· May 19, 2016, 19:43 UTC · re: Junio C Hamano · lore

Re: since/after not working properly

Thanks for your help and sorry for my confused regarding ad and cd.
________________________________________
From: Junio C Hamano <gitster@pobox.com>
Sent: Thursday, May 19, 2016 2:03:54 PM
To: Hawk, Jeff
Cc: Git Mailing List
Subject: Re: since/after not working properly
"Hawk, Jeff" <jeff.hawk@here.com> writes:
> They suggest this:
> git log --all --numstat --date=short --pretty=format:'--%h--%ad--%aN' --no-renames
>
> Seems like the %ad should be %cd.

I have no opinion on that. If somebody wants to show author dates, that's her choice.

← back to recent threads