# since/after not working properly

5 messages from 2016-05-19 to 2016-05-19. Participants: Jeff Hawk, Junio C Hamano, Hawk, Jeff.
Thread: https://gitlist.dev/t/42387

## Jeff Hawk, 2016-05-19 15:41

Subject: since/after not working properly
Message-ID: <573DDEBF.7000903@here.com>
URL: https://gitlist.dev/e/573DDEBF.7000903%40here.com

```
[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, 2016-05-19 17:27

Subject: Re: since/after not working properly
Message-ID: <CAPc5daXPWiY8=NtOcsjMcVN2MiwaaQUbVY6GBn2Eu31Q0fZrUQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAPc5daXPWiY8%3DNtOcsjMcVN2MiwaaQUbVY6GBn2Eu31Q0fZrUQ%40mail.gmail.com
In-Reply-To: <573DDEBF.7000903@here.com>

```
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, 2016-05-19 17:37

Subject: Re: since/after not working properly
Message-ID: <AM4PR0401MB184426EE089AE65941C5F7869B4A0@AM4PR0401MB1844.eurprd04.prod.outlook.com>
URL: https://gitlist.dev/e/AM4PR0401MB184426EE089AE65941C5F7869B4A0%40AM4PR0401MB1844.eurprd04.prod.outlook.com
In-Reply-To: <CAPc5daXPWiY8=NtOcsjMcVN2MiwaaQUbVY6GBn2Eu31Q0fZrUQ@mail.gmail.com>

```
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, 2016-05-19 19:03

Subject: Re: since/after not working properly
Message-ID: <xmqqeg8xj2ed.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqeg8xj2ed.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <AM4PR0401MB184426EE089AE65941C5F7869B4A0@AM4PR0401MB1844.eurprd04.prod.outlook.com>

```
"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, 2016-05-19 19:43

Subject: Re: since/after not working properly
Message-ID: <DB5PR0401MB184571A07FD0E88F5ADD60569B4A0@DB5PR0401MB1845.eurprd04.prod.outlook.com>
URL: https://gitlist.dev/e/DB5PR0401MB184571A07FD0E88F5ADD60569B4A0%40DB5PR0401MB1845.eurprd04.prod.outlook.com
In-Reply-To: <xmqqeg8xj2ed.fsf@gitster.mtv.corp.google.com>

```

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.

```
