From a610b3d1b4d975bbffc74604aa43f793dfd3f301 Mon Sep 17 00:00:00 2001 From: Stuart Webster Date: Sat, 19 Nov 2011 10:02:23 +0100 Subject: Line-ending conversion rules for hg-git users and enabled use of .gitignore by hg-git users Mercurial does not have built-in support for converting line-endings. This is a settings file for hg eol (http://mercurial.selenic.com/wiki/EolExtension), an extension that replicates the behaviour of git with core.autocrlf=true. Mercurial uses Python regex syntax by default in its .hgignore files. Adding this line to .gitignore overrides that setting, so hg-git users can just create a hardlink to it (e.g "mklink /H .hgignore .gitignore" on Windows) to use it. Signed-off-by: Stuart Webster --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3bc8348..1ff594a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +syntax: glob # for hg-git users Makefile Makefile.in configure -- cgit v1.2.3