You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: support vault in subdirectory of git repo (#722)
* fixed getRelativeRepoPath for the case of vault-inside-repo
* fixed import path
* add fallback for mobile app
* fixed lint & format
* correctly translate paths when vault inside repo
* style: fix lints
---------
Co-authored-by: Vinzent <vinzent03@proton.me>
Copy file name to clipboardExpand all lines: src/gitManager/gitManager.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -121,13 +121,19 @@ export abstract class GitManager {
121
121
// Constructs a path relative to the git repository from a path relative to the vault
122
122
//
123
123
// @param doConversion - If false, the path is returned as is. This is added because that parameter is often passed on to functions where this method is called.
// Constructs a path relative to the git repository from a path relative to the vault
99
+
//
100
+
// @param doConversion - If false, the path is returned as is. This is added because that parameter is often passed on to functions where this method is called.
0 commit comments