GNOME Bugzilla – Bug 679666
Improve git diff output for vala files
Last modified: 2016-03-31 13:59:42 UTC
Telling git than .vala files should be diff'ed as if they are java files makes the output more readable since the current method name appears in the hunk header.
Created attachment 218401 [details] [review] Improve git diff output for vala files
Review of attachment 218401 [details] [review]: yup, that's what I proposed the other day
it's worth noting in the commit log that csharp diff style is broken, even with csharp code...
(In reply to comment #2) > Review of attachment 218401 [details] [review]: > > yup, that's what I proposed the other day Yes it is, I've tested it since then, and have become annoyed at the suboptimal diffs in bugzilla. I can put you as the author of this patch if you prefer.
(In reply to comment #4) > Yes it is, I've tested it since then, and have become annoyed at the suboptimal > diffs in bugzilla. I can put you as the author of this patch if you prefer. nw, along with the comment about csharp, suggested by would be welcome.
Created attachment 218419 [details] [review] Improve git diff output for vala files Telling git than .vala files should be diff'ed as if they are java files makes the output more readable since the current method name appears in the hunk header. For some reason, using diff=csharp gives worse results than diff=java, that's why the latter is used.
Review of attachment 218419 [details] [review]: ack, thanks
Attachment 218419 [details] pushed as a1c7ae2 - Improve git diff output for vala files