From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10406 invoked by alias); 8 Dec 2009 12:07:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27488 Received: (qmail 7477 invoked from network); 8 Dec 2009 12:07:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at altlinux.org does not designate permitted sender hosts) Date: Tue, 8 Dec 2009 15:07:06 +0300 From: "Alexey I. Froloff" To: zsh-workers@zsh.org Subject: Re: [PATCH] _git: offer files relative to current directory Message-ID: <20091208120706.GF9335@altlinux.org> References: <20091205174551.GF3344@altlinux.org> <1260136353-20093-1-git-send-email-raorn@altlinux.org> <20091207224056.GD9335@altlinux.org> <20091208104839.GC21684@headley> <20091208112232.GE9335@altlinux.org> <20091208113944.GE21684@headley> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3oCie2+XPXTnK5a5" Content-Disposition: inline In-Reply-To: <20091208113944.GE21684@headley> User-Agent: Mutt/1.5.20 (2009-06-23) --3oCie2+XPXTnK5a5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 08, 2009 at 12:39:44PM +0100, ??t??p??n N??mec wrote: > Well... so is there some way I can get the behaviour I want with your > solution? I don't understand what exactly do you want. Original code offers changed files relative to repository root. Other files offered relative to current directory. My path does two things. First, it makes "changed files" paths to be relative to current directory, so git-commit accepts these paths. Second, it allows to complete paths outside of current directory, which current code does not allow. After my "relativisation" generated paths are split at '/' by _multi_parts, I haven't changed this behavior. --=20 Regards, Sir Raorn. --3oCie2+XPXTnK5a5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkseQWoACgkQVqT7+fkT8wpHDACggr7LB0kQUGDwJ0sDolVS1mrY 8ewAoM3YuAMBRgiwX7Q1SvGXb8mlgeI2 =Pvds -----END PGP SIGNATURE----- --3oCie2+XPXTnK5a5--