diff --git a/builtin-checkout.c b/builtin-checkout.c
index 1ee23468ff27de8f8d35c15ce6b10ac11995c0f9..1deda927cdfcbcdcb751aca3338ac77ef0aad836 100644 (file)
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
commit_locked_index(lock_file))
die("unable to write new index file");
- if (!opts->force)
+ if (!opts->force && !opts->quiet)
show_local_changes(&new->commit->object);
return 0;