since/after not working properly

3 messages, 2 authors, 2016-06-16 · open the first message on its own page

since/after not working properly

From: Jeff Hawk <hidden>
Date: 2016-06-16 02:19:31

[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

Re: since/after not working properly

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:19:31

On Thu, May 19, 2016 at 8:41 AM, Jeff Hawk [off-list ref] wrote:
[jeff:~/src/git] master* 2s ± git log --pretty=format:"%ad" --date=short
Perhaps try it with %cd instead of %ad?

Re: since/after not working properly

From: Hawk, Jeff <hidden>
Date: 2016-06-16 02:19:31

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 <redacted> on behalf of Junio C Hamano <redacted>
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 [off-list ref] wrote:
[jeff:~/src/git] master* 2s ± git log --pretty=format:"%ad" --date=short
Perhaps try it with %cd instead of %ad?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help