From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPoxR-0007ey-8U for qemu-devel@nongnu.org; Wed, 20 Jul 2016 06:42:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPoxN-0006VR-2F for qemu-devel@nongnu.org; Wed, 20 Jul 2016 06:42:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPoxM-0006VM-Sa for qemu-devel@nongnu.org; Wed, 20 Jul 2016 06:42:24 -0400 Date: Wed, 20 Jul 2016 11:42:19 +0100 From: "Daniel P. Berrange" Message-ID: <20160720104219.GI29602@redhat.com> Reply-To: "Daniel P. Berrange" References: <1468999625-3933-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] Symlink README.md as README to unbreak checkpatch.pl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Fam Zheng , Paolo Bonzini , Pranith Kumar , QEMU Developers , Markus Armbruster , Stefan Weil On Wed, Jul 20, 2016 at 11:36:36AM +0100, Peter Maydell wrote: > On 20 July 2016 at 08:27, Fam Zheng wrote: > > Commit e5dfc5e8e71 renamed README to README.md but scripts/checkpatch.pl > > still looks for the old name to sanity check that it's invoked from the > > toplevel of tree. > > > > Create a symbol link to README.md to fix that. I've verified that on > > github README.md still takes precedence and page is rendered. > > Have you checked that the symlink does sensible things if the git > tree is checked out under Windows? Should be fine https://www.kernel.org/pub/software/scm/git/docs/git-config.html "core.symlinks If false, symbolic links are checked out as small plain files that contain the link text. git-update-index(1) and git-add(1) will not change the recorded type to regular file. Useful on filesystems like FAT that do not support symbolic links. The default is true, except git-clone(1) or git-init(1) will probe and set core.symlinks false if appropriate when the repository is created." IOW, git will just "do the right thing" and automatically default core.symlinks to false on FAT. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|