From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55FB4C2BA19 for ; Tue, 14 Apr 2020 09:18:53 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD3D3206E9 for ; Tue, 14 Apr 2020 09:18:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD3D3206E9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hofr.at Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1jOHhh-0002ct-2k; Tue, 14 Apr 2020 05:18:01 -0400 Received: from 178.115.242.59.static.drei.at ([178.115.242.59] helo=mail.osadl.at) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1jOHhZ-0002cn-Ad for kernelnewbies@kernelnewbies.org; Tue, 14 Apr 2020 05:17:53 -0400 Received: by mail.osadl.at (Postfix, from userid 1001) id 0C50F5C01B2; Tue, 14 Apr 2020 11:16:57 +0200 (CEST) Date: Tue, 14 Apr 2020 11:16:57 +0200 From: Nicholas Mc Guire To: Valentin Vidi?? Subject: Re: Fixes tag confusion Message-ID: <20200414091656.GC21507@osadl.at> References: <20200413171516.GB16616@osadl.at> <20200413194641.GR7912@valentin-vidic.from.hr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200413194641.GR7912@valentin-vidic.from.hr> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Mon, Apr 13, 2020 at 09:46:41PM +0200, Valentin Vidi?? wrote: > On Mon, Apr 13, 2020 at 07:15:17PM +0200, Nicholas Mc Guire wrote: > > linux-stable$ git log -L:get_fs_type:fs/filesystems.c | grep "^commit " > > commit d8e9650dff48055057253ca30933605bd7d0733b > > commit 79c0b2df79eb56fc71e54c75cd7fb3acf84370f9 > > commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 > > > > I see neither of the fix nor the fixed commit ? > > This is on a Debian 10.3 with git version 2.20.1 > > > > It does not seem to be a rename issue - so I'm a bit lost on this one > > Is this a wrong expectation on my side - or am I using git in some wrong way here ? > > In this case it seems there is a function __get_fs_type earlier in the file > that gets matched instead: > > static struct file_system_type *__get_fs_type(const char *name, int len) > { > ... > } > > struct file_system_type *get_fs_type(const char *name) > { > ... > } > > You can try for example: > > $ git log -L ':[*]get_fs_type:fs/filesystems.c' fs/filesystems.c | grep ^commit > $ git log -L ':[^_]get_fs_type:fs/filesystems.c' fs/filesystems.c | grep ^commit > $ git log -L ':\bget_fs_type:fs/filesystems.c' fs/filesystems.c | grep ^commit > commit 26c5d78c976ca298e59a56f6101a97b618ba3539 > commit 41124db869b7e00e12052555f8987867ac01d70c > commit 7f78e0351394052e1a6293e175825eb5c7869507 > commit d8e9650dff48055057253ca30933605bd7d0733b > commit 79c0b2df79eb56fc71e54c75cd7fb3acf84370f9 > commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 > thanks - yes that does it for my case - I did not see the function name as a regex - thanks for the clarification ! thx! hofrat _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies