emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git help please: I want a git log with --author!=<name>.


From: Cenk Gündoğan
Subject: Re: git help please: I want a git log with --author!=<name>.
Date: Mon, 03 Jun 2019 11:44:03 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Hello Alan,

you could try --invert-grep. Does the following statement help?

git log --author=Mackenzie --invert-grep -- lisp/progmodes/cc-*.el

Cheers,
Cenk

On Mon, Jun 03 2019 at 11:14 +0200, Alan Mackenzie wrote:

> Hello, Emacs.
>
> I would like to get a git log of all commits to cc-*.el which weren't
> made by me.  A kind of negative of:
>
>     git log --author=Mackenzie -- lisp/progmodes/cc-*.el
>
> .  Scanning the git-log manual page hasn't been helpful.  The only thing
> possibly relevant is --not, but this is essentially undocumented (the
> man page doesn't say what it does).  So I try:
>
>     git log --not --author=Mackenzie -- lisp/progmodes/cc-*.el
>
> , but get exactly the same output as before.  :-(
>
>    ..... --author!=Mackenzie .....
>
> is just a syntax error.
>
> Now I could write an AWK script to filter the output from git log to get
> what I want, but I think I really shouldn't have to.
>
> Would somebody please tell me how to get what I want from git log, or
> tell me that it can't be done.  Thanks!

--
Cenk Gündoğan

Hamburg University of Applied Sciences
Dept. of Computer Science / Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49 40 42875 - 8426
Mail: address@hidden
Web: https://www.inet.haw-hamburg.de/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]