Skip to content

Commit 95f9886

Browse files
committed
Update json differ to use gron
Provide instructions to install and enable gron for human friendly json differences. I used gron to review #9366 and found it easy to setup and use. [skip ci]
1 parent 62abd1b commit 95f9886

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)