Re: [PATCH] Makefile: Remove excess backslashes from sed
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Apr 9, 2010, 15:34 UTC
- Message-ID
- <g2xfabb9a1e1004090834y7d9c05f0xf09ef7f5c34c3ab7@mail.gmail.com>
- In-Reply-To
- <7vvdc12mmz.fsf@alter.siamese.dyndns.org>
Heya,
On Fri, Apr 9, 2010 at 07:57, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> I wonder if we can make this a lot simpler to avoid multi-line sed script.
> For example, we could write the source Python script to always begin with:
>
> #!/usr/bin/python
> import sys;
> import os;
> sys.path.insert(0, os.getenv("GITPYTHONLIB","."));Thank you, I like this a lot better than our current approach. I think it's very ugly that git (needs to) mangle(s) the python files when installing, since that means that line-numbers don't match in stacktraces. I'd definitely prefer using this.
-- Cheers, Sverre Rabbelier