From: Nguyễn Thái Ngọc Duy Date: Fri, 15 Aug 2008 14:26:18 GMT Subject: [PATCH 5/9] Clear CE_NO_CHECKOUT on checked out entries. Message-ID: <20080815142618.GA10721@laptop> In-Reply-To: With this you can just do "git checkout some-files" to widen your checkout. On caveat though: caller must save the index. Signed-off-by: Nguyễn Thái Ngọc Duy --- entry.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/entry.c b/entry.c index 222aaa3..c1c01f4 100644 --- a/entry.c +++ b/entry.c @@ -230,5 +230,6 @@ int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *t } else if (state->not_new) return 0; create_directories(path, state); + ce_mark_checkout(ce); return write_entry(ce, path, state, 0); } -- 1.6.0.rc3.250.g8dd0