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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, 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 DFF3A1F428 for ; Sat, 18 Mar 2023 19:24:08 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; secure) header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail3 header.b=FkA4WNBN; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229713AbjCRTYH (ORCPT ); Sat, 18 Mar 2023 15:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjCRTYF (ORCPT ); Sat, 18 Mar 2023 15:24:05 -0400 X-Greylist: delayed 160 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 18 Mar 2023 12:24:03 PDT Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch [185.70.40.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2DE216AC1 for ; Sat, 18 Mar 2023 12:24:03 -0700 (PDT) Date: Sat, 18 Mar 2023 19:23:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1679167440; x=1679426640; bh=KFWLl2etjabzEFnhxNAC+9KEVSkJgcnwM9pnIyULZss=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=FkA4WNBNQS5qXvK+Y85RdXG/3SwscGsgLXfqn/6kvax7gwhhwFnxulCserHA9/9Rl 131iwe0WrRU9yAuDghubv0tp/CQi4M/NDfi+pu6417ZyzvwsjoEfZx6SAxj8sk5inQ JyYnsuoq7DgiwuBcJZ0Y5YoqmifigTvBWG6DeBVGyUv4eA3R/U4tb3nOO1uyL6kCS5 qC0OCVKKUsQ/GCbENH0Dxz6ZYdCEwYGiJu0BT0aAN6Ngx8wd6JZTdg+SgJEmwZPmQn nmMca4Ji1K/iTB8daIPS11HoFiiwsqVNw/bssFXMiX5kt507mtrY0mOA6073r/WN2E YaN9G2bh2f91A== To: "git@vger.kernel.org" From: dooagain Subject: Bug: git pull output and case sensitivity. Message-ID: Feedback-ID: 5666827:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org 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 core= .ignorecase true` then I executed `git pull` multiple times. What did you expect to happen? (Expected behavior) I expected the output of `git pull` to accurately tell me about new branche= s. What happened instead? (Actual behavior) The output from `git pull` repeatedly claims that remote branches that diff= er in casing only to my local ref are always considered "new" even when the= y 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 branch. Anything else you want to add: To me this seems like `git pull` is working as expected, but the output see= ms incorrect. This is problematic, because in the current repository there are hundreds o= f 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 PDT = 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]