From d4e240ab52a95dc22ae5abffdc6254b723285696 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 15 Aug 2008 08:36:06 -0700 Subject: [PATCH] Enable diff=java for all *.java source files This (usually) gets more reasonable function headers to appear in the header line for a diff hunk. Its slightly better than the default C rules. Signed-off-by: Shawn O. Pearce --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..f57840b7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.java diff=java -- 2.11.4.GIT