Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit log format for git #17

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

pzygielo
Copy link
Contributor

https://git-scm.com/docs/pretty-formats
The log format might be altered by configuration, and some formats do not have "Date:" field.

In repository with different than default log format configured I currently get for example

.../Ordered.java: Copyright year is wrong; is 2017, should be 

(which is wrong and itself causes plenty of false-positives) and with this change:

.../Ordered.java: Copyright year is wrong; is 2017, should be 2018

which is correct.

https://git-scm.com/docs/pretty-formats
The log format might be altered by configuration, and some formats
do not have "Date:" field.

Signed-off-by: Piotrek Zygielo <[email protected]>
@pzygielo pzygielo marked this pull request as ready for review October 13, 2020 19:41
@senivam senivam merged commit bb46410 into eclipse-ee4j:master Dec 8, 2020
@pzygielo pzygielo deleted the git/date/format branch December 8, 2020 07:41
@senivam senivam added this to the 2.4 milestone Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants