Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71932
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fomcl@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'friday,': 0.09; 'git': 0.09; 'parsing': 0.09; 'worked.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'mostly': 0.14; 'windows': 0.15; '23,': 0.16; 'as-is': 0.16; 'operation.': 0.16; 'subject:skip:e 10': 0.16; 'subject:windows': 0.16; 'windows:': 0.16; 'work"': 0.16; 'wrote:': 0.18; '8bit%:5': 0.22; 'cc:addr:python.org': 0.22; '(or': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'unix': 0.29; "i'm": 0.30; "skip:' 10": 0.31; 'probably': 0.32; 'stuff': 0.32; 'running': 0.33; '-----': 0.33; 'fri,': 0.33; 'maybe': 0.34; 'knows': 0.35; 'something': 0.35; 'next': 0.36; 'hi,': 0.36; 'so,': 0.37; 'pm,': 0.38; 'does': 0.39; 'subject:': 0.39; 'sure': 0.39; 'how': 0.40; 'letters': 0.60; 'received:98.137': 0.60; 'save': 0.62; 're:': 0.63; 'to:addr:gmail.com': 0.65; 'header:Reply-To:1': 0.67; 'policy.': 0.68; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'subject: & ': 0.68; 'received:98.136': 0.69; 'amazed': 0.84; 'differences,': 0.84; "everything's": 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84 |
| X-Yahoo-Newman-Property | ymail-3 |
| X-Yahoo-Newman-Id | 505319.89853.bm@omp1040.mail.gq1.yahoo.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1400857773; bh=ZiYblp/iFm+U4pQS7Tg6/4g/OS45sBRCLtUKt4QDIGA=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=u1FkJ8QLwLsRyaDwOIjruWdvUPKNwgJM0Lvsb7rDnhN93o7vC/Ror8pI8EnX4qvZxSQ19+I48pbbgQbF+iAz3aUB9hRtR6VCWf/Y7BYb44feFcgBS396wRlgU6fh9ZL8OkJYgBsLFm4EVTtOC4IhqoaJFykoXklF8IZAhHG+4PU= |
| X-YMail-OSG | Nxb9P2gVM1mWbazfn44r2dGLOsRk2.5mAI_hN6l4ehZkv5Z KHgab5ijJjcmmM5CGAuXur5qeyt1.f3DJE5wZQyNfg1d0dQQGqoMmnmrxk9a v74uAsLoeFlEeF8lLpqtdakcL42ikDQ_D.BfJsDHzB8754lWE0rmxanJo4LF QOUlHFqsXuRxVWqdJ5xxlKo2iF3rk9nwU9L50PGmTi0fgTwXe0CC7Nwt8MbN NlnwYCuWATycrX6807k2rgRQEMpSac7xu1H6w6wMJc03ZPIv26ezwqIU_fVE HMQvYRPHb2qORc0DkXM36YFPFyF35xiyyDhQnhscVLD3XrNGgYr_nGdRVg6h KmvsyH9EMoAuw9iSdqn8Qxb3aB9NC4lS5gvtnLM2gnIYa7iycH6rXT4JQfJl DThn5_T.P4vbUc1IjU.CyHwWfpT3Oc0OE0ja_QoxsDIAeLIFZHjf4OC1g0sn .0GiMn55XsnNOQ.45aGDG20goUTWXe0p9zobPgLUja59mDBv_IJBPUNZKrlY k6aXydUh1xtlwp2NJQrA52UkFNhh4lx5PbqmcEntex1z2cB2ckMHPqacLX0N xIb4C9eaxMg4SoLhwAM3x4ClqM1n9V9Uf.LcDSOjnAo20xQ-- |
| X-Rocket-MIMEInfo | 002.001, LS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQo.IEZyb206IENocmlzIEFuZ2VsaWNvIDxyb3N1YXZAZ21haWwuY29tPgo.IFRvOiAKPiBDYzogUHl0aG9uIDxweXRob24tbGlzdEBweXRob24ub3JnPgo.IFNlbnQ6IEZyaWRheSwgTWF5IDIzLCAyMDE0IDQ6MDEgUE0KPiBTdWJqZWN0OiBSZTogc2hlYmFuZyAmIHdpbmRvd3M6IGNhbGwgYW4gZXh0ZW5zaW9ubGVzcyBnaXQgaG9vawo.IAo.IE9uIEZyaSwgTWF5IDIzLCAyMDE0IGF0IDExOjUzIFBNLCBBbGJlcnQtSmFuIFJvc2thbQo.IAo.IDxmb21jbEB5YWgBMAEBAQE- |
| X-Mailer | YahooMailWebService/0.8.188.663 |
| References | <1400777937.43633.YahooMailNeo@web163802.mail.gq1.yahoo.com> <1400853223.2019.YahooMailNeo@web163806.mail.gq1.yahoo.com> <CAPTjJmq7NN2UHmp61yJ--4VXW36PdAM4w7ZGAAJQTyh3mMArLw@mail.gmail.com> |
| Date | Fri, 23 May 2014 08:09:33 -0700 (PDT) |
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
| Subject | Re: shebang & windows: call an extensionless git hook |
| To | Chris Angelico <rosuav@gmail.com> |
| In-Reply-To | <CAPTjJmq7NN2UHmp61yJ--4VXW36PdAM4w7ZGAAJQTyh3mMArLw@mail.gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | Python <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Albert-Jan Roskam <fomcl@yahoo.com> |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.10247.1400857942.18130.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1400857942 news.xs4all.nl 2894 [2001:888:2000:d::a6]:55841 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:71932 |
Show key headers only | View raw
----- Original Message ----- > From: Chris Angelico <rosuav@gmail.com> > To: > Cc: Python <python-list@python.org> > Sent: Friday, May 23, 2014 4:01 PM > Subject: Re: shebang & windows: call an extensionless git hook > > On Fri, May 23, 2014 at 11:53 PM, Albert-Jan Roskam > > <fomcl@yahoo.com.dmarc.invalid> wrote: >> Ok, I just found out that the script works as-is under Windows (I need to > save it as 'pre-commit', not as 'pre-commit.py'. That's > great, though I still don't understand how Windows (or Git) knows how to do > with it. >> > > Are you running git from inside bash? If so, it's probably parsing the > shebang and simulating a Unixesque environment, as part of the whole > "let's try to make Unix stuff mostly work" policy. I'm amazed > at how > well it actually works; from drive letters to execution differences, > everything's somehow finagled into operation. Hi, I just used cmd.exe and did some commits. And it just worked. Not sure about TortoiseGit. (*note to self: check this next week!*) Maybe Git does something with the 'mode python' shebang (and python is on PATH). regards, Albert-Jan
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: shebang & windows: call an extensionless git hook Albert-Jan Roskam <fomcl@yahoo.com> - 2014-05-23 08:09 -0700
csiph-web