From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: git help please: I want a git log with --author!=. Date: Mon, 3 Jun 2019 09:14:24 +0000 Message-ID: <20190603091424.GA5338@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="246005"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 11:31:55 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXjJp-0011q9-Ke for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 11:31:53 +0200 Original-Received: from localhost ([127.0.0.1]:60438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXjJo-0007Sv-Ip for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 05:31:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXj39-00035W-IJ for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:14:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXj38-00050Y-Nr for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:14:39 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:28346 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1hXj38-0004tK-Dj for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:14:38 -0400 Original-Received: (qmail 66427 invoked by uid 3782); 3 Jun 2019 09:14:24 -0000 Original-Received: from acm.muc.de (p4FE15E26.dip0.t-ipconnect.de [79.225.94.38]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 03 Jun 2019 11:14:24 +0200 Original-Received: (qmail 5379 invoked by uid 1000); 3 Jun 2019 09:14:24 -0000 Content-Disposition: inline X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237216 Archived-At: 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! -- Alan Mackenzie (Nuremberg, Germany).