From: Junio C Hamano Date: Sun, 04 Oct 2026 21:13:14 GMT Subject: Re: [PATCH] completion: exclude previous file arguments in Zsh Message-ID: In-Reply-To: SZEDER Gábor writes: > What will be excluded in the following command line: > > git -C dir -C subdir -c foo.bar=baz add file1 file2 > > I think we should exclude only those arguments that come after the git > command, in this case after "add", i.e. "file1" and "file2", but I > suspect that everything starting with "dir" will get excluded. I was writing the same message when I saw yours. If you had a file called 'add' in the working tree and then typed "a" to complete, is 'add' offered together with other files whose name begins with 'a'?