File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -616,13 +616,13 @@ sub is_windows {
616
616
617
617
# Return value is whether this is the first time they've run d-s-f
618
618
sub check_first_run {
619
- my $i = get_git_config_hash ();
619
+ my $i = git_config ();
620
620
my $ret = 0;
621
621
622
622
# If first-run is not set, or it's set to "true"
623
623
my $first_run = git_config_boolean($i -> {' diff-so-fancy' }-> {' first-run' });
624
624
# See if they're previously set SOME diff-highlight colors
625
- my $has_dh_colors = boolean($i -> {color } -> { ' diff-highlight' } -> { oldnormal } || $i -> {color } -> { ' diff-highlight' } -> { newnormal });
625
+ my $has_dh_colors = boolean($i -> {' color. diff-highlight.oldnormal ' } || $i -> {' color. diff-highlight. newnormal' });
626
626
627
627
if (!$first_run || $has_dh_colors ) {
628
628
return 0;
You can’t perform that action at this time.
0 commit comments