Skip to content

[Bug]: No commit-and-sync for three days #998

@smikula

Description

@smikula

Describe the bug

I just found that the plugin hasn't committed any changes for three days. I have the setting to commit after file edits with an interval of 5 minutes, and there were frequent changes over the past three days. It had been working well for several days beforehand. It still seemed to attempt a pull regularly, but I can't see any indication that it tried to commit and no error that I could see.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No errors in console.  I could see many logs like this, but none for committing:

obsidian-git: Pulling....
obsidian-git: Pull: Everything is up-to-date

Steps to reproduce

I don't know how to repro it. Restarting Obsidian got it working again.

Expected Behavior

Changes and committed and pushed 5 minutes after I finish editing.

Addition context

A git status showed some files staged for commit but not committed. I didn't stage them, so the plugin must have. I'm going by memory, but I think those were probably the oldest files that I had touched, which suggests that it got partway through the commit and then hit an error for some reason?

Operating system

Windows

Installation Method

None

Plugin version

2.35.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions