Re: [git-users] Query regarding git log --author

2018-10-19 Thread Amandeep Srivastava
Hey,

Thanks for the details there, I've already been through the documentation ;)

I just need a little elaboration, is the - - author regex specified matched
with the email and author name (referred to as commit header in the
documentation) in Git config?

Secondly, suppose I'm looking for commits by an author named MacMan.
If I use - - author=MacMan, it works fine but doesn't work for - -
author=macman. How can I make this filter case insensitive?

I really appreciate your help, thank you :)

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Query regarding git log --author

2018-10-18 Thread Konstantin Khomoutov
On Thu, Oct 18, 2018 at 06:16:22AM -0700, Amandeep Srivastava wrote:

> Can someone please help me with the functioning of --author filter with git 
> log. 
> 
> As per my understanding, it tries to match partially the strings stored as 
> email and username in git config, and it's case sensitive. 
> 
> Am I right about it? Is there some documentation regarding this? Also, can 
> I make the filter case-insensitive?

Let's cite the documentation (you may open yours by running
`git help log`)

  --author=, --committer=
Limit the commits output to ones with author/committer header
lines that match the specified pattern (regular expression).
With more than one --author=, commits whose author matches
any of the given patterns are chosen (similarly for multiple
--committer=).

The description is terse but appears to be complete.

Precisely what parts of it you're having troubles with?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Query regarding git log --author

2018-10-18 Thread Amandeep Srivastava
Hey,

Can someone please help me with the functioning of --author filter with git 
log. 

As per my understanding, it tries to match partially the strings stored as 
email and username in git config, and it's case sensitive. 

Am I right about it? Is there some documentation regarding this? Also, can 
I make the filter case-insensitive?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.