From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75336: [PATCH] Allow pcomplete of git add to include untracked files. Date: Sat, 04 Jan 2025 09:54:19 +0200 Message-ID: <86frlzf1zo.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , 75336@debbugs.gnu.org To: Peter Seibel , Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 08:55:27 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tTz0I-0001IO-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 08:55:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTz0C-0000DJ-2V; Sat, 04 Jan 2025 02:55:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTyzv-0008AM-92 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 02:55:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTyzu-0005tO-TC for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 02:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=0n24Hn5D/ghD1CFQWXdFmT3+sNLvq6AEd1itgr/bOCA=; b=b6xm5eaLGVWqcZ0PNqWXMNMDK0krTeJ1EE5h0fGE2FyKR4FLEnMpew8SxApetPH34NfS/NOyN3WoueXo97wABhsp1Qy1gRQ66xuS0ZRWKTQTygRkRsyMU5rmlw6QzUJmPk4PW1nLNdf8ywm/+Gb7P+JLYIyXqutIWr+XKIto1m3g/TPy2f3FcYYr0dDO71XXHFjOHIZ8eY5r2NsF7AwwqyvOAS56G4ad90WKMqr08vdIjJZNng2v8GQGxUEseiU3uMUI/uKiV1RquV/2pHdHuvLcsRCRnYTMl2vmfZ+fH5M7Lqav4kzxoglIz1MJOLBq3uZ/DhV8FhGQPfJ304G5yg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTyzu-0000vN-Mk for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 02:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75336 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 75336-submit@debbugs.gnu.org id=B75336.17359772703495 (code B ref 75336); Sat, 04 Jan 2025 07:55:02 +0000 Original-Received: (at 75336) by debbugs.gnu.org; 4 Jan 2025 07:54:30 +0000 Original-Received: from localhost ([127.0.0.1]:53225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTyzN-0000uJ-Kz for submit@debbugs.gnu.org; Sat, 04 Jan 2025 02:54:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53150) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTyzL-0000u3-UP for 75336@debbugs.gnu.org; Sat, 04 Jan 2025 02:54:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTyzF-00040O-M6; Sat, 04 Jan 2025 02:54:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0n24Hn5D/ghD1CFQWXdFmT3+sNLvq6AEd1itgr/bOCA=; b=Hgxk7N5jDEeG 3kiX9o/d5aRv5VpRmXHfR8gsn3Fj3WXl4v/4NQ0MdYQPuJE4GyHyMXfsF82ioUsoQibqmu8PLc4dc NJg+5U7QcefjwcCTeqnYZzK0LWbVNO8cosrSpBwD7jeIzARpMPpX5ySVvlVlzlM/8/VxJCBhnVmVy Zu7JA1FtQrk/n0Y9UEHk5tKYloaB0L8tIRcO4pTvJQCBgCWF5967W+LFAK/2sfQQnBNXlVd89b9zX eMQKPVBx6tchSQf4U9f4WQ8xZzhO+XtVxqBch8TGD1SezAy94pc8YjBZ6iGrwnoB0RRMl0qh2yhRk 844ta70dGYcWODnMP1YfkQ==; In-Reply-To: (message from Peter Seibel on Fri, 3 Jan 2025 16:00:27 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298334 Archived-At: > From: Peter Seibel > Date: Fri, 3 Jan 2025 16:00:27 -0800 > > I was going a bit crazy trying to figure out why tab completion in *shell* wasn't working for git add when I was > trying to add a new file to my repo. Turns out pcomplete was only completing modified tracked files.This > patch changes it so after git add it also completes untracked non-ignored files. Augusto and Stefan, any comments?