From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 0F201212B3 for ; Mon, 29 Apr 2024 19:38:36 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1714412316; b=Xj8nPDXvvxX4Z1kZ1rXHEXrcfVa27Iu7bs/ywWvBIPyNYQc/bbTOmwUZkPA5IKH16U4tLTaIq6 bVNkFMiwSMNnQrYDaJkCcFxtPiSpUzjdB1Mc0yQl6ijS0e9FCXHWrolOimLNj2AHbZgDWenSYV 46otHLRS3sB6z7swtWKBEBVkq0W5lpNshgdtU6B0hitqHqeTTowp9GNlrZwymfxareKxsccph7 v6+U6Ub9yasUlWJeYPkRN56gBjUhRErII09+tLpNZso/+4G3JWxngxB22/VBoIJPes5PspAMw5 jG1pt8gjjM3WSWHbL+X1y38nCNZUwKxi1MatpsIzC39MrQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta-snd-e11.biglobe.ne.jp) smtp.remote-ip=27.86.113.11; dkim=pass header.d=kba.biglobe.ne.jp header.s=default-1th84yt82rvi header.a=rsa-sha256; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1714412316; bh=EGXKSG8l/NoSD0mB1gVAqQF7cVysJoXwL+bhsPGWPvQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:DKIM-Signature:Message-ID:In-Reply-To:To:References:Date: Subject:MIME-Version:Content-Transfer-Encoding:Content-Type:From: DKIM-Signature; b=TFFMJcuO+WFVJcQ4E5JIyL9WwdkO1YPUUDJKsGj62tyG+UakEmVewyJOoOYNNZrJqyUvXyFw19 Os/kkgHMxng+GduRuj+6369elgj+sPf2Xbkk+7rBgavrRMMjPF4HLOaIGXdou0dDEigKpldwO3 mF4/F8g4OSJWoaA+6W5jiYstyenYCWQPRm4/jY8FGmMHL0oToSBdis1ulHThHYCBD9lGq/5Zls Wi5/skmNMlN8g1srmVoXfUiJ0eYKFRe5k50Elo78enw7XJ1XSnLv/o2raUV2bSyHggAZgPYK3n h/vRuQO6GjFGArsVx8DIt6oPU1y2RUkJrGiOfuN1LZfx3g==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=+dGJbbRSFKY7IWeHTyBHYmgbOkOqZCHJH1NNKGLRwKY=; b=JBkWoLTSQ7qm/jbm5knAoPOTfc My9oELnWu4KqKd4AK0deQS2/+NCLl0aIvGTHUSNc4xtF+oSj/h76u2Cbw+Bh/zVZFpZ0lfpbTVbtf FJBA07o8GA3B7nm38DbK11U00irG5oxchUuArmuv9rXN3cJsO/wVAjeXMPE1P6yaApI3S1CCfC+LV Ga2v1jSDpK++ua4qVthGTzf4AxooX36Lqnqc9lDHWAOyiHP76Mi031xby22M4hU4Gb5KJeBgn5wPC I/nLwBrNhX+3Bb7/5kfzl3aLT12wrDl+yt6GMok/gJxgz8viT281TJtCJ8bUvfP11t8bQuUmVv2XQ pYryK4tg==; Received: by zero.zsh.org with local id 1s1UxX-000IrA-Au; Mon, 29 Apr 2024 17:38:35 +0000 Authentication-Results: zsh.org; iprev=pass (mta-snd-e11.biglobe.ne.jp) smtp.remote-ip=27.86.113.11; dkim=pass header.d=kba.biglobe.ne.jp header.s=default-1th84yt82rvi header.a=rsa-sha256; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from mta-snd-e11.biglobe.ne.jp ([27.86.113.11]:6433) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1s1Uwq-000IXV-8c; Mon, 29 Apr 2024 17:37:56 +0000 Received: from mail.biglobe.ne.jp by mta-snd-e11.biglobe.ne.jp with ESMTP id <20240429173745962.TRKP.40502.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Tue, 30 Apr 2024 02:37:45 +0900 From: "Jun. T" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: Bug report; git tab-completion on macOS within paths containing unicode characters Date: Tue, 30 Apr 2024 02:37:45 +0900 References: To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kba.biglobe.ne.jp; s=default-1th84yt82rvi; t=1714412266; bh=+dGJbbRSFKY7IWeHTyBHYmgbOkOqZCHJH1NNKGLRwKY=; h=From:Subject:Date:References:To:In-Reply-To; b=oCeP+fKNvkJ2W3KGlkZlB3kA/dYJlNgqEkickIlcRCOsh2Z//4Mta3z04a/p3HE3HbK3dgGa hu9v9zV7r8i/Vk+hnEavthITLrovqMohWxN8OV4+RTmMBt9hxmN4zcEwLhfcQGsfS1Q/KCgVMp n/a7uWJXmNWwQoAhOUTb8we617OODixzpkmmfislZppoSwOVhFWqvwbQq/fTH0aqRzJyqhL8Nb i5jyVVnHj4mnJyxI9ihxu4BMOEBLsdbdtHQGMMGaOV4PNBQyx0P0WOocKOzTjmEUZTww0Pu1ui jDfBJxdRjslksbiXAXMLxtRLxSw23WjtwX9WR/3lEVHJd1oQ== X-Seq: 52905 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: > 2024/04/29 4:01=E3=80=81Bart Schaefer = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB: >=20 > <__git_files.txt> With this patch, 'git add t' apparently works, but _complete_debug indicates that the problem still remains. In __git_files (called from __git_other_files), 'git ls-files' is called two times. The first one is (omitting a few irrelevant options): git ls-files --others -- ':\(icase\)\''/path/to/=C3=BC/test2/t\''\*' and this gives nothing (no files, no error messages). Then __git_files tries the second call: git ls-files --others -- and this returns 'test.txt'. But this returns only the files in the current directory and its subdirectories. So if we are in a subdirectory then files in the top directory are not listed. I tried git ls-files path with path in both in NFC and NFD (by using $'\x..'), but both didn't work. I guess this is a problem of git itself.=