How to update index stat info without reading file content?

2014-09-11 Thread Steffen Prohaska
Hi, Is there a way to update the stat information recorded in the index without reading the file content from disk? Starting from a clean working copy with a committed `file`, I'd like touch file git magic-command file to bring the index into essentially the same state as touch

Re: How to update index stat info without reading file content?

2014-09-11 Thread Junio C Hamano
Steffen Prohaska proha...@zib.de writes: Hi, Is there a way to update the stat information recorded in the index without reading the file content from disk? Starting from a clean working copy with a committed `file`, I'd like touch file git magic-command file to bring the