t1400: add some more tests of "update-ref --stdin"'s verify command
[gitweb.git] / entry.c
diff --git a/entry.c b/entry.c
index d913c1d62ca792c8c75b28d3c0b152aab2238fb8..1eda8e94714bbd6020d61b4b627f721b1042673c 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -214,6 +214,7 @@ static int write_entry(struct cache_entry *ce,
                if (!fstat_done)
                        lstat(ce->name, &st);
                fill_stat_cache_info(ce, &st);
+               ce->ce_flags |= CE_UPDATE_IN_BASE;
                state->istate->cache_changed |= CE_ENTRY_CHANGED;
        }
        return 0;