From: Shawn O. Pearce Date: Fri, 15 Aug 2008 15:40:22 GMT Subject: [EGIT PATCH] Enable diff=java for all *.java source files Message-ID: <1218814822-23307-1-git-send-email-spearce@spearce.org> 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 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f57840b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.java diff=java -- 1.6.0.rc3.250.g8dd0