From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 2E6E21F428 for ; Sun, 19 Mar 2023 06:28:17 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; secure) header.d=web.de header.i=tboegi@web.de header.a=rsa-sha256 header.s=s29768273 header.b=sinR8+2E; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjCSG1w (ORCPT ); Sun, 19 Mar 2023 02:27:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjCSG1v (ORCPT ); Sun, 19 Mar 2023 02:27:51 -0400 Received: from mout.web.de (mout.web.de [212.227.15.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21A432470E for ; Sat, 18 Mar 2023 23:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1679207266; i=tboegi@web.de; bh=KNdyELhzEQASO2OX2l9QS9Fl6MFX6/6BEqfX7ZtqZEk=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=sinR8+2EffJyOU0ikfToOK8Yowqkl1iuInVmOVHi9VzDgHnL9IbKJVVaPGlgwieKR H7YssuN+1FtUFBQKxXroa9LuMnTV8olD6j05hNh/b3HfxD4bvVARmZE9UdRbJbHwzD 7wjhEWdBBYXFZtsqOqJJ3A+zGdpn1FJGczcothlUsu8XgEXs2+kfRWUXbtqM8zxbuN t1Sk2S5qrUo78T2CEqu2eum2bv9JxP1DXNXzv6+ybxDoJ7wYshDlEDUr/qgNFR0Qm7 BH3122ep3Y4Kep367sjUi1AJKKmQrwQfJDb94EfyRrn1IztwfVTzSvm5DWH/0JS2ra 15kaHmOhDcx5w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from localhost ([62.20.115.19]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N01di-1qOTji2XtG-00x17Y; Sun, 19 Mar 2023 07:22:40 +0100 Date: Sun, 19 Mar 2023 07:22:40 +0100 From: Torsten =?iso-8859-1?Q?B=F6gershausen?= To: dooagain Cc: "git@vger.kernel.org" Subject: Re: Bug: git pull output and case sensitivity. Message-ID: <20230319062239.w37x64knfhfapbsn@tb-raspi4> References: <-Va6f9aA736sZCXChvTLaUUSpAq9-ooSELLBrqRSXR5zAQwT7QSRryN1SGBWQj7J_KowBmZuhDHwIwAkrFFfyelwtkXJ-ri4yLPpmDpBqBU=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <-Va6f9aA736sZCXChvTLaUUSpAq9-ooSELLBrqRSXR5zAQwT7QSRryN1SGBWQj7J_KowBmZuhDHwIwAkrFFfyelwtkXJ-ri4yLPpmDpBqBU=@protonmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Provags-ID: V03:K1:s7Ksh5m/0kGMoGg/GXTrK+pApBsb6tA7YSLwZ9EqDFheuv6dlQn +co50w4a8MPDMDgiTflCXNmT7BnjgAinztkl7zUDjWXZTQW4R64vQItPGA//8WBXnK4+K+n vPizVt6lnTzAI/uCogU/RxhGBCOyiuS6GGC80emxLHhITbqnsfMW6E7YMQJ7l/Mc9ENm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osKzVezs9SX02+Ck/0= Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Sat, Mar 18, 2023 at 07:21:10PM +0000, dooagain wrote: > Thank you for filling out a Git bug report! > Please answer the following questions to help us understand your issue. > > What did you do before the bug happened? (Steps to reproduce your issue) > > I configured my git repository to ignore case by executing `git config c= ore.ignorecase true` then I executed `git pull` multiple times. What do you mean by "I configured my git repository" ? The answer is already there, so let's re-rephrase it: Are you working on a case-insensitive file system ? What happens if you create a test directory, like this: mkdir test-case cd test-case git init git config --get core.ignorecase > > What did you expect to happen? (Expected behavior) > > I expected the output of `git pull` to accurately tell me about new bran= ches. > > What happened instead? (Actual behavior) > > The output from `git pull` repeatedly claims that remote branches that d= iffer in casing only to my local ref are always considered "new" even when= they exist locally and are in sync with the remote branch. > > What's different between what you expected and what actually happened? > > Here is one example from the output from `git pull`: > > * [new branch] bug/#30k8z31/fixing_affordable_merge_fields = -> origin/bug/#30k8z31/fixing_affordable_merge_fields > > This is my local ref file: > > .git/refs/remotes/origin/Bug/#30k8z31/fixing_affordable_merge_fields > > The contents of my local ref is the same commit hash as the remote branc= h. > > Anything else you want to add: > > To me this seems like `git pull` is working as expected, but the output = seems incorrect. > This is problematic, because in the current repository there are hundred= s of branches that generate this output > so when `git pull` actually does have a problem it is very easy to miss. > > Please review the rest of the bug report below. > You can delete any lines you don't wish to share. > > > [System Info] > git version: > git version 2.40.0 > cpu: arm64 > no commit associated with this build > sizeof-long: 8 > sizeof-size_t: 8 > shell-path: /bin/sh > feature: fsmonitor--daemon > uname: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 P= DT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64 > compiler info: clang: 14.0.0 (clang-1400.0.29.202) > libc info: no libc information available > $SHELL (typically, interactive shell): /opt/homebrew/bin/bash > > > [Enabled Hooks]