slicer icon indicating copy to clipboard operation
slicer copied to clipboard

Old assets considered modified by git after each export

Open danielchasehooper opened this issue 11 years ago • 1 comments

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?

danielchasehooper avatar Oct 20 '14 16:10 danielchasehooper

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.

ryangomba avatar Oct 21 '14 21:10 ryangomba