summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2009-08-21 08:57:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-22 03:45:40 (GMT)
commit43673fddd3c8a0e2cadc8ba724552531fac55464 (patch)
treead664bf510f9207345692ad28e58710581ab504d /read-cache.c
parent044239b0a1fbdcccefafe1dab5f9c21e5a2a9150 (diff)
downloadgit-43673fddd3c8a0e2cadc8ba724552531fac55464.zip
git-43673fddd3c8a0e2cadc8ba724552531fac55464.tar.gz
git-43673fddd3c8a0e2cadc8ba724552531fac55464.tar.bz2
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 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 4e3e272..f1aff81 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -1077,7 +1077,7 @@ int refresh_index(struct index_state *istate, unsigned int flags, const char **p
unsigned int options = really ? CE_MATCH_IGNORE_VALID : 0;
const char *needs_update_message;
- needs_update_message = ((flags & REFRESH_SAY_CHANGED)
+ needs_update_message = ((flags & REFRESH_IN_PORCELAIN)
? "locally modified" : "needs update");
for (i = 0; i < istate->cache_nr; i++) {
struct cache_entry *ce, *new;