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

[Bug]: Conflict opens multiple Tabs #401

Closed
larryfast opened this issue Dec 13, 2022 · 0 comments
Closed

[Bug]: Conflict opens multiple Tabs #401

larryfast opened this issue Dec 13, 2022 · 0 comments

Comments

@larryfast
Copy link

larryfast commented Dec 13, 2022

Describe the bug

Thanks for creating Obsidian Git. I'm using it to sync Obsidian across my team. To stay in sync as we work, I set both Backup and Auto Pull intervals to 1 minute. When there's a conflict, a new conflict-files-obsidian-git tab is opened every minute until the conflict is resolved. What seems to happen is

  • Vault Backup removes the conflict file - leaving behind a "No File" tab
  • Vault Backup then detects the conflict (again), creates a new conflict-files file and opens a new conflict-files tab

The cycle repeats every minute resulting is an ever growing list of open "No File" tabs

Relevant errors (if available)

No response

Steps to reproduce

  • set Vault Backup period to 1 minute
  • create a merge conflict
  • minute by minute new "No File" tabs will appear

Expected Behavior

Before Vault Backup removes conflict-files-obsidian-git it should close any open tab for that file

Addition context

No response

Operating system

Linux

Plugin version

2.13.0

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

1 participant