From: Lucas Werkmeister Date: Wed, 15 Jun 2016 08:25:52 +0000 (+0200) Subject: Set Java hunk header for *.java files X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=929352b2603bd011c48119d8d75a1a00a3889ca8 Set Java hunk header for *.java files With this configuration, git displays the current function in the hunk header, instead of the current class. This makes it easier to review commits and diffs on the command line (and, hopefully, on Gerrit). Change-Id: Ie1637cec0c12d813d27fe0156ced5a4900f3352e --- diff --git a/.gitattributes b/.gitattributes index 9535ab16..10c31b96 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ * text=auto -*.java text +*.java text diff=java *.txt text *.md text