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=-1.0 required=3.0 tests=DKIM_ADSP_ALL,DKIM_INVALID, DKIM_SIGNED,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 A25F0C2BB1D for ; Mon, 13 Apr 2020 19:47:17 +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 D1119206DA for ; Mon, 13 Apr 2020 19:47:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (4096-bit key) header.d=valentin-vidic.from.hr header.i=@valentin-vidic.from.hr header.b="zOXvLRqO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1119206DA Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=valentin-vidic.from.hr 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 1jO52g-00047J-Pr; Mon, 13 Apr 2020 15:46:50 -0400 Received: from valentin-vidic.from.hr ([2001:470:1f0b:3b7::1]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jO52e-00047D-5e for kernelnewbies@kernelnewbies.org; Mon, 13 Apr 2020 15:46:49 -0400 X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id A98226F5; Mon, 13 Apr 2020 21:46:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=valentin-vidic.from.hr; s=2020; t=1586807201; bh=Y+WY+hEOfzK3MJJkG2urwN74zaL7P695szNj5tekIUw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=zOXvLRqOfaz6CZgIfnG5X01vuvYtUfqD8JlERFUg0Gon8FVV+6pHkwFv+hxr3sn2U VqcUoCxszNqhziqVoAN8BFk8tcFPZXkF1pbe38p8A5lzi5olj/Awq3BtqhGdPpXunF 4nSXjoPMdZPcdMsYay5/QuuNcfwPZ9VCgyKN6uKtcnkmsAKoOVTBCfEFZ7n/ZzNX8S OXow6glcBY9MHeVeqJDmV6ibDbP+5GUoaWN1pcYaf6IAPKe90W73w4ml7pQDV8ltC3 6QcM7MznY6GVDGzq50NDNXGO4u5wa8avP7whD9E1MkWv1RX4j9g/WtutO8/D597ZQr /cXCtB4ypsT+k/fB9CD3WS3oMkkBkOlJEtNioieTkLj5FBmDclyH3YyMk8IrTRYjuE WLwp8FMd7NMAJzHwk47ronYdFhtz0EBf7Tin8EFoNbrHu8rE8Z78lnZV8GGNBNuU3T 76bVTSae9A1fwtzGBhT+MUXaEqW2QiPU+44KNdlCgucxrsB26bHx0pZrlXCKBrnC7e 73xIRcvBIVOO05yRZLwXg8ubzrqitiTJkiT9FXzg18li/qxv4D70Qcv0L59R4PulHC WXC0B0vyfDUXkI+4ktJk2xIXTA+q6nTBzwvHb/CeFTL6nv+KMhXUbxDdkGgTteCmof 4Lo8z2LTZVPH3Xle/IcxNg1E= Date: Mon, 13 Apr 2020 21:46:41 +0200 From: Valentin =?utf-8?B?VmlkacSH?= To: kernelnewbies@kernelnewbies.org Subject: Re: Fixes tag confusion Message-ID: <20200413194641.GR7912@valentin-vidic.from.hr> References: <20200413171516.GB16616@osadl.at> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200413171516.GB16616@osadl.at> User-Agent: Mutt/1.10.1 (2018-07-13) 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 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 -- Valentin _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies