Re: cvs import and internal plumbing commands
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 20, 2009, 02:43 UTC
- Message-ID
- <7vprbwvzu7.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20090717214523.GA29955@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Yes, I think it is reasonable to migrate it in any case, if only because > it serves as an example when people read it, and we are trying to > encourage the dashless form.
Hmm, I am of two minds.
We encourage script writers to just prepend "git --exec-path" at the beginning of their PATH and give guarantee that this simple procedure will keep their scripts working, so it might be a good idea to have an example for that as well.
So the preferred fix might be just the matter of adding one line
$ENV{'PATH'} = `git --exec-path`. ":$ENV{'PATH'}";at the beginning of the script.