- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> 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
>
> wrote:
>> Ok, I just
On Fri, May 23, 2014 at 11:53 PM, Albert-Jan Roskam
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 runni
- Original Message -
> From: Albert-Jan Roskam
> To: Python
> Cc:
> Sent: Thursday, May 22, 2014 6:58 PM
> Subject: shebang & windows: call an extensionless git hook
>
> Hi,
>
> I wrote the git pre-commit hook below. It is supposed to reject commits t
Hi,
I wrote the git pre-commit hook below. It is supposed to reject commits that
contain large files (e.g. accidental commits by inexperienced users, think of
"git add .")
Anyway, I tried this under Linux, but the target platform is Windows. As per
Git design the hook name *must* be "pre-comm