Skip to content

Commit dc14a20

Browse files
authored
Merge pull request #9368 from jrafanie/add-gron-for-json-diff
Update json differ to use gron
2 parents 62abd1b + 95f9886 commit dc14a20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.gitattributes

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
app/javascript/oldjs/locale/*.json -text -diff
1+
# To use gron for human readable json differences:
2+
# 1) brew/apt install gron
3+
# 2) Add this to ~/.gitconfig:
4+
# [diff "gron"]
5+
# textconv=gron
6+
# Now, git log -p, show, and friends will use gron for json differences.
7+
app/javascript/oldjs/locale/*.json diff=gron

0 commit comments

Comments
 (0)