Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Git completion - contributing to git.git
- X-seq: zsh-users 15138
- From: Nicolas Sebrecht <nicolas.s-dev@xxxxxxxxxxx>
- To: Nikolai Weibull <now@xxxxxxxx>
- Subject: Re: Git completion - contributing to git.git
- Date: Thu, 1 Jul 2010 10:33:02 +0200
- Cc: Nicolas Sebrecht <nicolas.s-dev@xxxxxxxxxxx>, zsh-users@xxxxxxx,	Clint Adams <clint@xxxxxxxxxxxxxxxxxxxxx>,	Doug Kearns <dkearns@xxxxxxxxxxxxxxxxxxxxx>,	Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:sender:date:from:to:cc         :subject:message-id:references:mime-version:content-type         :content-disposition:content-transfer-encoding:in-reply-to         :user-agent;        bh=U1zov27tpShhvet83urZd5vyGbuqCixIiO49VGIZJXg=;        b=VFMhbWJGSxrxzhw/5rRWcDkU+4p0CHEX+hmwchj9k85IZ7kJ1Vi7vMmtGApoHGpFza         iDzTc3pmc0hvRgcBWwNTgbL1sNcNZgEJ3c+O9YxE3YJoMTCTudWLH7KB3vMhjD/CjzA5         EIZW9ZbMXTAp5avYMtl4to2wHapC8ZuGJeUPU=
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=sender:date:from:to:cc:subject:message-id:references:mime-version         :content-type:content-disposition:content-transfer-encoding         :in-reply-to:user-agent;        b=hoypRhQCJSp+zX8PYB+0LfCr4+7q16FtlW9zTmuoJrjeOuLpMeG7r8+AMOJXKkxkoS         u4Y0XrSySsBTAzucqATVvDz7dfhIESEI32uJ3B77D/gj1QIFyxIXkQDM9PVASzobQ1ui         MmG7deZojKWCsX/9lmrRHFryDuRNw/UE61ENw=
- In-reply-to: <AANLkTik6Ys8mRgMj8yz0Iyo5bUIXyqQFtZFqRFyXAF42@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100701010506.GC13062@vidovic> <AANLkTik6Ys8mRgMj8yz0Iyo5bUIXyqQFtZFqRFyXAF42@xxxxxxxxxxxxxx>
- Sender: Nicolas Sebrecht <ni.s.nis33@xxxxxxxxx>
On Thu, Jul 01, 2010 at 10:00:42AM +0200, Nikolai Weibull wrote:
> 
> (Why am I not included in the Cc?  I am the original and principal
> author, after all.  The minuscule amount of attribution it would have
> provided would have been nice. ;-)
I'm sorry for that. I did a command like
  git blame -- path/to/_git | cut -d' ' -f2,3 | sort | uniq
on my Git's zsh repository which is obviously not approppriate. :-/
> Iâd rather not, to be honest.  Itâs always a pain to have two files,
> as they can become out of sync when patches are sent to one repository
> and not the other, users donât know which version to use, and so on.
I believe this could easily be solved by versionning the file (yes,
by adding a "# vXYZ"). Perhaps a more explicit header could help :
  # vXYZ
  # If you intend to contribute to maintaining this file, please
  # increase the version number and fill the patches to both zsh and git
  # projects at <addresses>. Thanks!
The worst cases for me would be to either
  have two unrelated zsh completion files in each project
or
  maintaining a public (possibly sent to the Git project) completion
  file downstream to the zsh one
.
Thoughts?
-- 
Nicolas Sebrecht
Messages sorted by:
Reverse Date,
Date,
Thread,
Author