From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS8972 188.138.9.0/24 X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00,RCVD_IN_XBL shortcircuit=no autolearn=no version=3.3.2 X-Original-To: spew@80x24.org Received: from 80x24.org (atlantic480.us.unmetered.com [188.138.9.49]) by dcvr.yhbt.net (Postfix) with ESMTP id 98D33203FA for ; Thu, 19 Nov 2015 08:23:13 +0000 (UTC) From: Eric Wong To: spew@80x24.org Subject: [PATCH] add .gitattributes Date: Thu, 19 Nov 2015 08:23:10 +0000 Message-Id: <20151119082310.9102-1-e@80x24.org> List-Id: This improves method detection for Ruby source files; making output of "git diff" and "git log -p -W" more readable for git users looking at our Ruby code. See the gitattributes(5) manpage for more details. Ruby pattern definitions reside in userdiff.c of the git sources at git://git.kernel.org/pub/scm/git/git.git --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..21e0bd4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +*.gemspec diff=ruby +*.rb diff=ruby +*.ru diff=ruby +Rakefile diff=ruby +bin/* diff=ruby -- EW