Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git completion horribly slow in kernel tree
- X-seq: zsh-workers 24455
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: git completion horribly slow in kernel tree
- Date: Wed, 23 Jan 2008 18:03:09 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cPM5LpUpZoRhTz2eV55d3aF2H94IXDH3QnCmkgxv5EY=; b=sn5YEG0GF1DeFxQVH8irSNvbvn5ectcVDvoBvjIX8XoGz+SQZDvDeNunHM6uZQga8N9G5vDeCCDjI68bz3CmK9DFtKJYskSR6G9gORO3tfADkY9B/CsKM/PPv5BCsQi6Y9iyc20jIB6Uo7hEWmoLwGWTnwHr5Q6vov/IvFQpzbQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mtOUOIlGAHDr7dNK6ujy//73EEBZwc14zll1oCc4h7r0X1K5KDDSR+y5pWSYKPqWFwkIXB1O51o3DMdxRTE5i9O3URDvYKUka9S918TDHx4oMRKSp65hFrVtecXOYUIvF8MX3T9jiZbLaDR/rmmtoDv4XjoHl9On/IYuCMgbbaw=
- In-reply-to: <20080123164835.GA32341@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrnfongql.jes.joerg@xxxxxxxxxxxx> <237967ef0801141339p73414915xc411253211ed7467@xxxxxxxxxxxxxx> <20080122011932.GB16813@xxxxxxxxxxx> <237967ef0801211740s1ee07850vc25984a7af262cac@xxxxxxxxxxxxxx> <20080122162222.GA503@xxxxxxxxxxx> <20080122171249.GA2361@xxxxxxxxxxx> <237967ef0801230320n7fbd3582xf8a149e10f83e708@xxxxxxxxxxxxxx> <20080123132925.GA26303@xxxxxxxxxxx> <237967ef0801230830t55434367p31c78b56df461454@xxxxxxxxxxxxxx> <20080123164835.GA32341@xxxxxxxxxxx>
On 23/01/2008, Clint Adams <clint@xxxxxxx> wrote:
> On Wed, Jan 23, 2008 at 05:30:05PM +0100, Mikael Magnusson wrote:
> > Hm, I don't really know... git ls-tree seems to not want to output ..,
> > if you specify --full-name, it does show the dir you specify, but
> > relative to the root of the project. So if you're in proj/dir1/dir2
> > and git ls-tree --full-name --name-only HEAD .., you will get files
> > shown as dir1/file1. I guess it's possible to use that output, but
> > maybe it's easier to just manually cd to the proj/ dir first :). I
> > just looked at the bash completer (which is very confusing code), and
> > it seems to use something like
> > git --git-dir=$(git rev-parse --git-dir) ls-tree $ref:prefix
> > which lists the file as file1 instead of dir1/file1. (no idea why it
> > doesn't use --name-only).
>
> I just looked and git-add completion is using ls-files, which can't
> handle relative paths either.
Oh hm yeah, I tried th e bash completer and it completes all files for
git add, not just new/changed ones.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author