GNU bug report logs - #75336
[PATCH] Allow pcomplete of git add to include untracked files.

Previous Next

Package: emacs;

Reported by: Peter Seibel <peter <at> gigamonkeys.com>

Date: Sat, 4 Jan 2025 03:34:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Seibel <peter <at> gigamonkeys.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Augusto Stoffel <arstoffel <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 75336 <at> debbugs.gnu.org
Subject: bug#75336: [PATCH] Allow pcomplete of git add to include untracked files.
Date: Sat, 4 Jan 2025 05:59:18 -0800
[Message part 1 (text/plain, inline)]
I just realized there's a better way to do this. New patch attached.

On Fri, Jan 3, 2025 at 11:54 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Peter Seibel <peter <at> gigamonkeys.com>
> > 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?
>


-- 
Peter Seibel
http://www.gigamonkeys.com/
[Message part 2 (text/html, inline)]
[0002-Simpler-way-to-get-list-of-addable-files.patch (application/octet-stream, attachment)]

This bug report was last modified 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.