Closed codeinred closed 6 months ago
Additional related issues: https://github.com/mermaid-js/mermaid/issues/4141
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days
Describe the bug
Attempting to check out the main branch results in a spurious error. For example, if
mainBranchName
is configured toHEAD
, and the diagram attempts to check it out, the following error will occur:Note that this error occurs regardless of a particular choice of
mainBranchName
.This error is suprious. The following actions make the error go away:
Note that neither of these actions fix the issue in downstream projects like vscode-markdown-mermaid, so vscode-markdown-mermaid will always emit an error with these diagrams.
Corresponding graph:
Related Issue
See this issue in vscode-markdown-mermaid: https://github.com/mjbvz/vscode-markdown-mermaid/issues/214
Steps To Reproduce
Link to Live Editor:
gitGraph: commit commit branch feature commit checkout HEAD commit