@@ -69,8 +69,8 @@ advice.*::
merge to avoid overwriting local changes.
resetQuiet::
Advice to consider using the `--quiet` option to linkgit:git-reset[1]
- when the command takes more than 2 seconds to enumerate unstaged
- changes after reset.
+ when the command takes more than 2 seconds to refresh the index
+ after reset.
resolveConflict::
Advice shown by various commands when conflicts
prevent the operation from being performed.
@@ -525,9 +525,9 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
_("Unstaged changes after reset:"));
t_delta_in_ms = (getnanotime() - t_begin) / 1000000;
if (advice_enabled(ADVICE_RESET_QUIET_WARNING) && t_delta_in_ms > REFRESH_INDEX_DELAY_WARNING_IN_MS) {
- printf(_("\nIt took %.2f seconds to enumerate unstaged changes after reset. You can\n"
+ advise(_("It took %.2f seconds to refresh the index after reset. You can\n"
"use '--quiet' to avoid this. Set the config setting reset.quiet to true\n"
- "to make this the default.\n"), t_delta_in_ms / 1000.0);
+ "to make this the default."), t_delta_in_ms / 1000.0);
}
}
} else {