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

Use author rather than commiter #90

Open
CaptainQuirk opened this issue Mar 19, 2021 · 2 comments
Open

Use author rather than commiter #90

CaptainQuirk opened this issue Mar 19, 2021 · 2 comments

Comments

@CaptainQuirk
Copy link

Hi there,

I was comparing the results of my pretty git log alias command and the one of GV and I noticed, in case of a topic branch on which I performed a rebase, than the dates were not equivalent.

I'm using %ad in my alias, which is the Author date field while GV uses %cd, aka Commiter Date.

I was perusing my history to solve a deployment issue by pinpointing the end of a specific phase of work I had been doing on a feature before it was deployed for testing.

I realize that this is mostly the result of me not mastering the workflow, albeit peculiar to me, of this project. Still, since I'm often rebasing to present a work as neat as possible for pair review, the Committer date is not the information I'm interested in.

What are your thoughts on this ? Would you be strongly opposed to changing the format from Commiter date to Author date ?

Thanks for your time !

@BertrandSim
Copy link

BertrandSim commented Jul 8, 2021

I too prefer to use %ad. In addition, --format=%ad %h%d %s (%an) seems to be more consistent than the current format of --format=%cd %h%d %s (%an), where the author name %an is used.

@mg979
Copy link

mg979 commented Aug 22, 2021

You should be able to pass the format options to the GV command (escape spaces):

GV --format=%ad\ %h%d\ %s\ (%an)

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

No branches or pull requests

3 participants