Skip to content

Commit

Permalink
visual div
Browse files Browse the repository at this point in the history
  • Loading branch information
Findus23 committed Feb 18, 2017
1 parent 293f878 commit 0f4ea5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitattributes
Expand Up @@ -10,4 +10,7 @@ composer.lock export-ignore
requirements.txt export-ignore
unk.flag.svg export-ignore
versions.txt export-ignore

*.gif diff=image
*.jpg diff=image
*.png diff=image
*.ico diff=image
4 changes: 4 additions & 0 deletions tools/git-imgdiff.sh
@@ -0,0 +1,4 @@
#!/bin/sh
# by http://varya.me/en/posts/image-diffs-with-git/
compare $2 $1 png:- | montage -geometry +4+4 $2 - $1 png:- | gwenview /dev/stdin

0 comments on commit 0f4ea5e

Please sign in to comment.