Code

Pull GIT 1.2.4 fixes from master
[git.git] / entry.c
diff --git a/entry.c b/entry.c
index 6c47c3a3e1acb8badaadad42dfe3d0bd7a06cac3..8fb99bc83f2d168e4a374d076608a2f42abbe434 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -123,7 +123,7 @@ int checkout_entry(struct cache_entry *ce, struct checkout *state)
        strcpy(path + len, ce->name);
 
        if (!lstat(path, &st)) {
-               unsigned changed = ce_match_stat(ce, &st);
+               unsigned changed = ce_match_stat(ce, &st, 1);
                if (!changed)
                        return 0;
                if (!state->force) {