isomorphic-git/isomorphic-git

[Obsidian-git] SHA check failed!

Ouverte

#1 760 ouverte le 12 mai 2023

 (22 commentaires) (0 réaction) (0 personne assignée)JavaScript (351 forks)batch import
help wanted

Métriques du dépôt

Stars
 (7 054 étoiles)
Métriques de merge PR
 (Merge moyen 13j 13h) (7 PRs mergées en 30 j)

Description

Please be sure to mention:

  • whether you are using Node or the Browser

Obsidian app, iOS version, in one of its plugin called obsidian-git. Guess it's counted in the Browser category?

  • how you are using it (if you are using a bundler what bundler; if you are using a <script> tag what CDN URL)

A Javascript plugin of Obsidian mentioned above: obsidian-git


This obsidian-git plugin makes Obsidian vaults of Markdown notes able to do Git actions, which can be executed on major OS platforms.

Recently on iOS, we are encountering this issue: https://github.com/denolehov/obsidian-git/issues/503 i.e. when pushing changes to the remote repo, an error message reads:

InternalError: An internal error caused this
command to fail. Please file a bug report at
https://github.com/isomorphic-git/isomorphic-
git/issues with this error message: SHA check
failed! Expected
27eb43e79ec4b1236d2ba1b27e738f279420bd93
, computed
b77dOb17f624d487b84cc67d4510794aeb34981
9

(SHA values vary with different instances)

Could you provide some insights so that we can have better information to fix on the obsidian-git side, or try to workaround/fix the situations? (I'm one of users of Obsidian, not developer of obsidian-git)

Feel free to correct me if this issue does not belong here.

Best regards

Guide contributeur