From: "Tom M." <boojum@stercus-accidit.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh-workers@zsh.org
Subject: Re: Zsh git filename completion with “--git-dir=… --work-tree=…”: not a git repository
Date: Thu, 10 Aug 2017 22:59:56 +0100 [thread overview]
Message-ID: <CACfAdfaMruBPfKMj1J8UdRe4=-Ajq9VTky7joiWP=tCHYQvL8A@mail.gmail.com> (raw)
In-Reply-To: <1502401291.1328986.1069732648.63580361@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
On 10 August 2017 at 22:41, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>
> Try moving --git-dir and --work-tree to between 'git' and 'add'.
>
% git --git-dir=$HOME/.dotfiles --work-tree=$HOME/ add -f back [Tab]
% git --git-dir=$HOME/.dotfiles --work-tree=$HOME/ add -f backup
It works! Albeit completion is very, very slow - only for this particular
use-case. I'm assuming that this is due to large number of files in $home?
Or can it be a bit speedier?
prev parent reply other threads:[~2017-08-10 22:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 10:51 Tom M.
2017-08-10 13:15 ` Tom M.
2017-08-10 17:14 ` Daniel Shahaf
[not found] ` <CACfAdfbiQDH1M32QGxZg21G3xqVFcq5JB+ZSaYbGd5-czNgLbg@mail.gmail.com>
[not found] ` <1502401291.1328986.1069732648.63580361@webmail.messagingengine.com>
2017-08-10 21:59 ` Tom M. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACfAdfaMruBPfKMj1J8UdRe4=-Ajq9VTky7joiWP=tCHYQvL8A@mail.gmail.com' \
--to=boojum@stercus-accidit.com \
--cc=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).