Skip to content

Commit

Permalink
#1 Fix typo in unset
Browse files Browse the repository at this point in the history
  • Loading branch information
cquintana92 committed Aug 20, 2021
1 parent e77b319 commit e5ca0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn git_set(var: &str, value: &str, global: bool) {

fn git_unset(var: &str, global: bool) {
let scope = if global { "--global" } else { "--local" }.to_string();
git_command(&["config", "unset", &scope, var]);
git_command(&["config", "--unset", &scope, var]);
}

fn set(matches: &ArgMatches) {
Expand Down

0 comments on commit e5ca0f7

Please sign in to comment.