zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _git space pollution
@ 2007-09-30 11:12 Clint Adams
  2007-09-30 11:27 ` Clint Adams
  2007-10-01  7:29 ` Nikolai Weibull
  0 siblings, 2 replies; 3+ messages in thread
From: Clint Adams @ 2007-09-30 11:12 UTC (permalink / raw)
  To: zsh-workers

This parameter is used exactly twice, immediately after its assignment.
I would say that all the globally-declared parameters should be prefixed
with _git to avoid namespace pollution, but really they shouldn't be in
the global space at all.

Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.30
diff -u -r1.30 _git
--- Completion/Unix/Command/_git	29 Sep 2007 06:06:15 -0000	1.30
+++ Completion/Unix/Command/_git	30 Sep 2007 11:08:17 -0000
@@ -107,7 +107,7 @@
   '(--no-tags -t --tags)'{-t,--tags}'[fetch remote tags]'
 )
 
-
+local author_conversion_file_arg_spec
 author_conversion_file_arg_spec='[specify author-conversion file]:author-conversion file:_files'
 
 declare -g author_conversion_file_arg=


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-01  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-30 11:12 PATCH: _git space pollution Clint Adams
2007-09-30 11:27 ` Clint Adams
2007-10-01  7:29 ` Nikolai Weibull

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).