aboutsummaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2009-08-21 10:57:58 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-21 20:45:40 -0700
commit43673fddd3c8a0e2cadc8ba724552531fac55464 (patch)
treead664bf510f9207345692ad28e58710581ab504d /builtin-add.c
parent044239b0a1fbdcccefafe1dab5f9c21e5a2a9150 (diff)
downloadgit-43673fddd3c8a0e2cadc8ba724552531fac55464.tar.gz
git-43673fddd3c8a0e2cadc8ba724552531fac55464.tar.xz
Rename REFRESH_SAY_CHANGED to REFRESH_IN_PORCELAIN.
The change in the output is going to become more general than just saying "changed", so let's make the variable name more general too. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-add.c')
-rw-r--r--builtin-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c
index 581a2a174..a325bc9f0 100644
--- a/builtin-add.c
+++ b/builtin-add.c
@@ -105,7 +105,7 @@ 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,
+ refresh_index(&the_index, verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET,
pathspec, seen);
for (i = 0; i < specs; i++) {
if (!seen[i])