Re: Reset sometimes updates mtime

2015-07-10 Thread Dennis Kaarsemaker
On do, 2015-07-09 at 10:56 -0700, Junio C Hamano wrote: > Dennis Kaarsemaker writes: > > > I'm seeing some behaviour with git reset that I find odd. Basically if I > > do > > > > git fetch && \ > > git reset --hard simple-tag-that-points-to-the-current-commit > > > > sometimes the reset will upda

Re: Reset sometimes updates mtime

2015-07-09 Thread Junio C Hamano
Dennis Kaarsemaker writes: > I'm seeing some behaviour with git reset that I find odd. Basically if I > do > > git fetch && \ > git reset --hard simple-tag-that-points-to-the-current-commit > > sometimes the reset will update the mtime of all files and directories > in the repo and sometimes it w

Reset sometimes updates mtime

2015-07-09 Thread Dennis Kaarsemaker
I'm seeing some behaviour with git reset that I find odd. Basically if I do git fetch && \ git reset --hard simple-tag-that-points-to-the-current-commit sometimes the reset will update the mtime of all files and directories in the repo and sometimes it will leave them alone. Changing it to git f