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

Syncing creates redundant commits #358

Open
VisualEhrmanntraut opened this issue Mar 31, 2024 · 4 comments
Open

Syncing creates redundant commits #358

VisualEhrmanntraut opened this issue Mar 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@VisualEhrmanntraut
Copy link

Description

Merging in changes (syncing) creates redundant commits even if there were no changes done to the database. Only changes in the commits are the "last update" message.

Steps to reproduce the bug

Open a BinSync project. Do a "Magic Sync" with "Overwrite" or "Sync All" from a user. Observe that merge commits will be made for every single thing, even if there were no actual changes done.

Environment

Binary Ninja 4.1.5014-dev Personal (349de5a9)
macOS 14.4.1 (23E224)

Additional context

No response

@VisualEhrmanntraut VisualEhrmanntraut added the bug Something isn't working label Mar 31, 2024
@VisualEhrmanntraut VisualEhrmanntraut changed the title Merging in changes creates redundant commits Syncing creates redundant commits Mar 31, 2024
@mahaloz
Copy link
Member

mahaloz commented Mar 31, 2024

Hey @VisualEhrmanntraut would you happen to have a commit in one of your public BinSync projects your referencing? Will be easier to track down if you do.

@VisualEhrmanntraut
Copy link
Author

Hey again @mahaloz. ChefKissRE/Adrenaline_24.3.1-amdkmdag.sys@93b58a2 is the first commit when it started spamming when I clicked "Sync All" on the other user (zormeister)

@mahaloz
Copy link
Member

mahaloz commented Apr 1, 2024

Okay, to confirm one other thing, is this exclusively in Magic Sync, or does it also happen in Sync All? The Magic Sync feature is somewhat controversial, and I'm honestly shocked you found it, haha. It's had a bad time in IDA Pro in the past due to some structural syncing.

However, Sync All is supposed to simply sync every change on top of your change (avoiding conflicts).

@VisualEhrmanntraut
Copy link
Author

It happens with Magic Sync on “Overwrite” and Sync All. I know they’re supposed to sync everything, but I don’t think it should be making any commits if nothing changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants