Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Git completion - contributing to git.git

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
  maintaining a public (possibly sent to the Git project) completion
  file downstream to the zsh one


Nicolas Sebrecht

Messages sorted by: Reverse Date, Date, Thread, Author