Skip to content

[Bug] git checkout/restore 会打断自动保存 #522

@Cactusinhand

Description

@Cactusinhand

Before Submitting

  • I searched existing issues and did not find a duplicate.
  • I can reproduce this issue on the latest release (or latest main build).
  • I included reproducible details (environment, steps, expected and actual behavior, and evidence), not only a code-level suggestion.

Bug Summary

文档一直在 vmark 中打开
然后在终端通过 git checkout/restore 操作了该文档之后,提示【自动保存已暂停】

猜测可能是 vmark 的自动保存使用了 git 的版本控制之类的功能, git checkout/restore 打乱了这个过程

Operating System

macOS

VMark Version

0.6.10

Install Method

Homebrew

Steps to Reproduce

  1. 用 vmark 打开文档
  2. 在终端通过 git checkout/restore 操作该文档

Expected Behavior

不影响 vmark 的自动保存

Actual Behavior

提示【自动保存已暂停】

Logs, Screenshots, or Repro

No response

Additional Context

No response

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