author | Gustaf Hendeby <hendeby@isy.liu.se> | |
Tue, 12 Aug 2008 14:24:26 +0000 (16:24 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Aug 2008 22:43:55 +0000 (15:43 -0700) | ||
commit | 23b5beb28fdadbb1d80ebf686a35385609f7a180 | |
tree | bd7df07da69c2bcfe8e6d9771a19b4c7eaea9b5e | tree | snapshot |
parent | d08ed6d692a79eb2a62410d7e76380fbf25ca793 | commit | diff |
Teach git diff about BibTeX head hunk patterns
All BibTeX entries starts with an @ followed by an entry type. Since
there are many entry types and own can be defined, the pattern matches
legal entry type names instead of just the default types (which would
be a long list). The pattern also matches strings and comments since
they will also be useful to position oneself in a bib-file.
Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
All BibTeX entries starts with an @ followed by an entry type. Since
there are many entry types and own can be defined, the pattern matches
legal entry type names instead of just the default types (which would
be a long list). The pattern also matches strings and comments since
they will also be useful to position oneself in a bib-file.
Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitattributes.txt | diff | blob | history | |
diff.c | diff | blob | history |