Skip to content

Commit 5b46918

Browse files
committed
Add binary and png in .gitattributes
1 parent 02ea902 commit 5b46918

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
*.tar.gz binary
2+
*.zip binary
3+
*.png diff=exif
4+
15
# API files
26
api/*.h licensefile=.githooks/LICENSE-C
37
api/*.F90 licensefile=.githooks/LICENSE-Fortran

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
program output.
3030
- An API function to get the dipole moment, relative to the origin, due to the ASC
3131
on the cavity. Both the norm and the components can be obtained.
32+
- `.gitattributes` now instructs Git to ignore binary files in diff operations.
33+
PNG files are diff-ed using EXIF information. To set this up properly,
34+
install an EXIF tool on your machine and run `git config diff.exif.textconv
35+
exiftool` in your local copy of the repository.
3236

3337
### Changed
3438

0 commit comments

Comments
 (0)