Package: git Version: 1:2.25.0-1 Severity: normal File: /usr/share/bash-completion/completions/git
/tmp$ git init test-repo Initialized empty Git repository in /tmp/test-repo/.git/ /tmp$ cd test-repo/ /tmp/test-repo$ mkdir src /tmp/test-repo$ touch src/main.rs At this point, if you type "git add src/" and then press tab, the completion appends "./" rather than appending "main.rs". Using Alt-/ to complete a filename will append "main.rs" as expected. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git depends on: ii git-man 1:2.25.0-1 ii libc6 2.29-9 ii libcurl3-gnutls 7.67.0-2 ii liberror-perl 0.17029-1 ii libexpat1 2.2.9-1 ii libpcre2-8-0 10.34-7 ii perl 5.30.0-9 ii zlib1g 1:1.2.11.dfsg-1.1 Versions of packages git recommends: ii ca-certificates 20190110 ii less 551-1 ii openssh-client [ssh-client] 1:8.1p1-5 ii patch 2.7.6-6 Versions of packages git suggests: ii gettext-base 0.19.8.1-10 pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> pn git-email <none> pn git-gui <none> pn git-mediawiki <none> ii git-svn 1:2.25.0-1 ii gitk 1:2.25.0-1 pn gitweb <none> -- no debconf information