Skip to content

Commit

Permalink
FIX: Changed the branchLocal command to branch with no-color
Browse files Browse the repository at this point in the history
  • Loading branch information
wusher committed Jul 31, 2021
1 parent 87cb864 commit dbd93cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ class ObsidianGitSettingsTab extends PluginSettingTab {
.setName("Current branch")
.setDesc("Switch to a different branch")
.addDropdown(async (dropdown) => {
const branchInfo = await plugin.git.branchLocal();
const branchInfo = await plugin.git.branch(['--no-color']);
for (const branch of branchInfo.all) {
dropdown.addOption(branch, branch);
}
Expand Down

0 comments on commit dbd93cf

Please sign in to comment.