1 Make patches more descriptive
2 =============================
4 By default hunk headers of a patch will look like this:
6 @@ -1227,6 +1227,8 @@ authorization from the authors.
8 Which is not very usefull as it doesn't give a hint where the change
9 happened (except for the line number). To make those hunk headers more
12 @@ -1227,6 +1227,8 @@ <struct name="HierarchyChange">
14 Add these 2 lines to your .git/config file:
17 xfuncname = "(<\\b(xcb|enum|event|request|struct|union)\\b.*>)"
19 For more background on this magic have a look at src/.gitattributes and
20 the man page gitattributes(5) chapter "Defining a custom hunk-header".