sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

jpg images gets corrupted and have glitches when commited to a repository and pushed #1949

Open RogyCoffee1 opened 1 month ago

RogyCoffee1 commented 1 month ago

Version info

Description So yeah, the title says my jpg images gets corrupted and get weird effects whenever i commit or push them to a repository. it doesnt happen with pngs

Steps to reproduce

Steps to reproduce the behavior:

  1. Stage jpgs...
  2. press commit...
  3. Click on Push...
  4. and then...when i look at them in my repository, they are corrupted

Expected behavior Well...the jpgs to be alright whenever i commit / push them

Debug Information The Sublime Merge debug information can be used to narrow down the cause of an issue. It can be collected with the following steps:

  1. Open Sublime Merge
  2. Open the repository where the bug occurs
  3. Navigate to Help > Debug Information via the application menu
  4. Before sharing, please redact any information that's sensitive such as file paths, git user information, remote URLs etc.

This section may be omitted/removed. image does the have to do with the way the images are made? because it doesnt seem to happen with some jpg files

If applicable, add screenshots to help explain your problem. This section may be omitted/removed.

themilkman commented 1 month ago

Does this happen with the git cli, too? Do you have any filters/hooks in your git setup? What if you commit locally, switch to an older commit and checkout the new commit (without pushing)? Donthose files have the same checksum as before commiting?