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 <pclouds@gmail.com> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Mariusz Kozlowski | [PATCH 01] kmalloc + memset conversion co kzalloc |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
