Skip to content

git-rename-history

The renames a vault’s git history records, the strongest evidence of where a missing link target went.

Cross-platform: it only parses. Running git belongs to desktop-git-runner.ts, which reads Node only when a command runs. Call that runner only behind Platform.isDesktopApp.

Interface Description
LoadGitRenamesParams The parameters for loadGitRenames.
Function Description
loadGitRenames Reads every rename in the git history of the repository the vault lives in.
parseGitRenameLog Parses the output of git log -z --diff-filter=R -M --name-status --format=%h.
Type Description
GitRunner Runs git with the given arguments in the vault’s folder.