Re: Refreshing index timestamps without reading content

2017-01-10 Thread Quentin Casasnovas
On Mon, Jan 09, 2017 at 04:55:37PM +0100, Quentin Casasnovas wrote: > On Mon, Jan 09, 2017 at 07:01:36AM -0800, Junio C Hamano wrote: > > Duy Nguyen <pclo...@gmail.com> writes: > > > > > On Thu, Jan 5, 2017 at 6:23 PM, Quentin Casasnovas > > >

Re: Refreshing index timestamps without reading content

2017-01-09 Thread Quentin Casasnovas
On Mon, Jan 09, 2017 at 07:01:36AM -0800, Junio C Hamano wrote: > Duy Nguyen <pclo...@gmail.com> writes: > > > On Thu, Jan 5, 2017 at 6:23 PM, Quentin Casasnovas > > <quentin.casasno...@oracle.com> wrote: > >> Is there any way to tell git, after the git ls-

Re: Refreshing index timestamps without reading content

2017-01-09 Thread Quentin Casasnovas
On Mon, Jan 09, 2017 at 01:17:24PM +0100, Quentin Casasnovas wrote: > On Mon, Jan 09, 2017 at 07:02:45PM +0700, Duy Nguyen wrote: > > On Thu, Jan 5, 2017 at 6:23 PM, Quentin Casasnovas > > <quentin.casasno...@oracle.com> wrote: > > > > > If not, I am wil

Re: Refreshing index timestamps without reading content

2017-01-09 Thread Quentin Casasnovas
On Mon, Jan 09, 2017 at 07:02:45PM +0700, Duy Nguyen wrote: > On Thu, Jan 5, 2017 at 6:23 PM, Quentin Casasnovas > <quentin.casasno...@oracle.com> wrote: > > > If not, I am willing to implement a --assume-content-unchanged to the git > > update-index if you guys don't

Refreshing index timestamps without reading content

2017-01-05 Thread Quentin Casasnovas
Hi guys, Apologies if this is documented somewhere, I have fairly bad search vudu skills. I'm looking for a way to cause a full refresh of the index without causing any read of the files, basically telling git "trust me, all worktree files are matching the index, but their stat information have