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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Seibel <peter <at> gigamonkeys.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Allow pcomplete of git add to include untracked files.
Date: Fri, 3 Jan 2025 16:00:27 -0800
[Message part 1 (text/plain, inline)]
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.

I believe I long ago signed a Copyright assignment to the Emacs project but
I'm happy to do it again if that's still required. Cheers!


-- 
Peter Seibel
http://www.gigamonkeys.com/
[Message part 2 (text/html, inline)]
[0001-Allow-pcomplete-of-git-add-to-include-untracked-file.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.