-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.gitconfig
23 lines (20 loc) · 808 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# from http://stackoverflow.com/questions/2006351/gettext-po-files-under-version-control/11291001#11291001
# more verbose than my minimal version
[diff "msgcat"]
textconv = msgcat --no-location --no-wrap --sort-output
# these diff defs use po_diff/pot_diff from https://github.com/alikins/gitconfig
# change the 'diff' in .gitattributes to diff=po or diff=pot to use
# convert po files to a less noisy
# # variant for display in git log -p etc
# # note that textconv does not affect
# # git-format-patch output
[diff "po"]
textconv = po_diff
cachetextconv = true
[diff "pot"]
textconv = pot_diff
# the line's it was picking for the "funcname"
# context were kind of terrible for this case, so
# just match a blank line so it's empty
xfuncname = ^$
cachetextconv = true