Skip to content

Commit cb02c84

Browse files
Merge pull request #250 from SimenB/first-run-warning
Include more info in first run warning
2 parents 75ce210 + 748393f commit cb02c84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

diff-so-fancy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,8 @@ sub check_first_run {
633633
my $reset = color("reset");
634634

635635
printf("\n%s%s%sWarning:%s This appears to be the first time you've run diff-so-fancy. Please note that the\n",$blink,$bold,$warn,$reset);
636-
printf("default colors may not be optimal. Please run 'diff-so-fancy --colors' to see our color recommendations.\n\n");
636+
printf("default colors may not be optimal. Please run 'diff-so-fancy --colors' to see our color recommendations.\n");
637+
printf("To silence this error run: 'git config --global diff-so-fancy.first-run false'.\n\n");
637638

638639
return 0;
639640
}

0 commit comments

Comments
 (0)