Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old assets considered modified by git after each export #2

Open
danielchasehooper opened this issue Oct 20, 2014 · 1 comment
Open

Comments

@danielchasehooper
Copy link
Contributor

After doing a clean build on a new clone, or after changing a single asset in the sketch file, git considers all exported assets modified. Is there a way to avoid this? I noticed you reverted a diff algorithm, whats the story with that?

@ryangomba
Copy link
Owner

It doesn't appear possible to get "modified" timestamps per-slice. So the diffing I wrote compared MD5 hashes of the exported assets and only swapped out the ones that had changed. It got a bit messy and I wanted to ship, so I reverted. However, I would be happy to accept a PR in that vein.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants