summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-28 19:39:26 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-28 19:39:26 -0700
commit235db154f8b92e53b97ffb93725d394b6e20f398 (patch)
tree18161aa7c30964c214969de1a8179831c6a9d9e9 /builtin-add.c
parent4a224a9bbec4e7a1a4dcb7a91e663483dc477b78 (diff)
parent3deffc52d88df73af72a80a406eb863880bb4d2a (diff)
downloadgit-235db154f8b92e53b97ffb93725d394b6e20f398.tar.gz
Merge branch 'mm/reset-report'
* mm/reset-report: reset: make the reminder output consistent with "checkout" Rename REFRESH_SAY_CHANGED to REFRESH_IN_PORCELAIN.
Diffstat (limited to 'builtin-add.c')
-rw-r--r--builtin-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-add.c b/builtin-add.c
index 581a2a1748..006fd08769 100644
--- a/builtin-add.c
+++ b/builtin-add.c
@@ -105,8 +105,8 @@ static void refresh(int verbose, const char **pathspec)
for (specs = 0; pathspec[specs]; specs++)
/* nothing */;
seen = xcalloc(specs, 1);
- refresh_index(&the_index, verbose ? REFRESH_SAY_CHANGED : REFRESH_QUIET,
- pathspec, seen);
+ refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
+ 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]);