mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Correctly handling syncing of whole vault
This commit is contained in:
parent
7b2b5ed1d1
commit
76c2b99092
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ export default class GithubClient {
|
|||
repo,
|
||||
dir.path,
|
||||
branch,
|
||||
`${localContentDir}/${dir.name}`,
|
||||
localContentDir ? `${localContentDir}/${dir.name}` : dir.name,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ export default class GitHubSyncSettingsTab extends PluginSettingTab {
|
|||
.setName("Local content directory")
|
||||
.setDesc(
|
||||
`The local directory to sync, relative to the vault root.
|
||||
Defaults to the repository name if not set.`,
|
||||
If not set the whole vault will be synced.`,
|
||||
)
|
||||
.addText((text) =>
|
||||
text
|
||||
|
|
|
|||
Loading…
Reference in a new issue