diff --git a/builtin-add.c b/builtin-add.c
index a325bc9f0fe3efab7c061e33985118e65834bc28..006fd08769dcf01c20b0c23dd7cf6c4aae931c68 100644 (file)
--- a/builtin-add.c
+++ b/builtin-add.c
/* nothing */;
seen = xcalloc(specs, 1);
refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
- pathspec, seen);
+ pathspec, seen, "Unstaged changes after refreshing the index:");
for (i = 0; i < specs; i++) {
if (!seen[i])
die("pathspec '%s' did not match any files", pathspec[i]);