Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _git: Also complete FETCH_HEAD, ORIG_HEAD and MERGE_HEAD.
- X-seq: zsh-workers 27815
- From: Nikolai Weibull <now@xxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: [PATCH] _git: Also complete FETCH_HEAD, ORIG_HEAD and MERGE_HEAD.
- Date: Sun, 21 Mar 2010 21:17:25 +0100
- Cc: Zsh Workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=jarrht/E+Pc8zCSi3TYXptp2S05bglsEpHhbG5r51L8=; b=f/oaT6PY5sULMTHpMa2ENgIvZ7EeirUJr3hfC44BD+2Vz3RyhZeqjiAtxxLE7TvU3R QCgDHOe5qBeszT4PbNMzibNDVig7C4UezI4ce1CKgBwZvaJ5OKWzLscsNVCS8jDluk7V WpJGeW0/A0KXKqfkMG24kLa464vMNFsfBG870=
- 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:cc:content-type :content-transfer-encoding; b=t0PjWoYkyxeQGRqMBt2nsQ+5wC+/HTFDR0lmezBuGskODUL6KhCHcPwRWZgRAhcXkM GE5bbbKBmyiQFoXs+3EC25AhwiDNP8f1SWCrUTlWRZvzzyTCzoaRjpsuUv4RWvmvpaeQ z6gpHRcR+ephZ3paAYop0HJ8o9dAQTmkBnwZk=
- In-reply-to: <alpine.LNX.2.01.1003211540430.19615@xxxxxxxxxxx>
- 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: <20100321172336.GA4151@xxxxxxxxxxxx> <alpine.LNX.2.01.1003211540430.19615@xxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On Sun, Mar 21, 2010 at 20:48, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> + Âsymbolic_heads=()
> + Âfor head in HEAD ORIG_HEAD FETCH_HEAD MERGE_HEAD ; do
> + Â Âgit rev-parse $head &>/dev/null && symbolic_heads+=( $head )
> + Âdone
Thatâs a lot of forking to make a simple check. Is there no better
way? Do we actually have to filter the heads?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author