Skip to content

Commit

Permalink
Update options.c
Browse files Browse the repository at this point in the history
It seems like `git config --list` prints everything in lowercase. That results in `tig` not recognising the value of `status.showUntrackedFiles` since it's being printed as `status.showuntrackedfiles`.
  • Loading branch information
storoj authored Jul 6, 2022
1 parent 13bcb40 commit 9ba0181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ read_repo_config_option(char *name, size_t namelen, char *value, size_t valuelen
else if (!strcmp(name, "diff.noprefix"))
parse_bool(&opt_diff_noprefix, value);

else if (!strcmp(name, "status.showUntrackedFiles"))
else if (!strcmp(name, "status.showuntrackedfiles"))
parse_bool(&opt_status_show_untracked_files, value);

else if (!prefixcmp(name, "tig.color."))
Expand Down

0 comments on commit 9ba0181

Please sign in to comment.