[PATCH] check-commit: prevent adding symlinks

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Apr 11 02:26:26 EDT 2016



On 04/08/2016 08:33 PM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1460171180 -32400
> #      Sat Apr 09 12:06:20 2016 +0900
> # Node ID e1757909c63e92b1787f7ea50e89b2deb6d96ecf
> # Parent  c5565fc8848dd084d104ca40c33d1acdfcff8bc6
> check-commit: prevent adding symlinks
>
> IMHO, including symlinks in source code is a sign of bad design. Also, it
> doesn't work on Windows.
>
> This patch makes check-commit use a git patch to capture "new file mode" line.

Sure, pushed.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list