Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix __git_is_treeish and add __git_is_committish
- X-seq: zsh-workers 28021
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Fix __git_is_treeish and add __git_is_committish
- Date: Wed, 9 Jun 2010 22:38:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dizI/fzgSJEgMY49MNWwnLgCxeVTSSHMjshWKU/FmQI=; b=I3Vt4OdJXS2vZc06KzQ455a2Sk5YFk2aMFgl7tfxbhwfs//FkWs5f/odhqOTi2ypqI XRLYNL9sUvymK1xbVb+v0LPvQvoNvXFc91lCdaS77rcyolIjerS3noqF5w2vYJt6Ie5z o8Sh1dQra6GgLwhEyaido8RcsphkvX7mLCTmw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=M1wR6tk1K61LDgZLhrHhB03FD4DLsqRooAc+s+G7iamN4W1r1BRVlUpPqjNTqqkfDp +vxEnRd2/CVMuSpW0pN7qkyXBBoycHqC3dSskL858Lb7rEr1ZnvEHMn7r3BlwQGtD9D/ 5DSXNadSNt3XsPSwGQv3wvj2h5jd1dgr8kiNk=
- In-reply-to: <20100609162913.GC19932197@xxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20100609162913.GC19932197@xxxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On Wed, Jun 9, 2010 at 18:29, Holger Weiss <holger@xxxxxxxxxxxxxxxx> wrote:
> The __git_is_treeish function is meant to check whether the provided
> argument specifies a "tree-ish" Git object. ÂThe function runs
>
> Â Â Â Âgit rev-parse $1 --
> This patch simply removes the "--" argument from the "git rev-parse"
> call.
Shouldnât that be
git rev-parse -- $1
as -- is used to separte options from arguments?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author