Re: [PATCH v5] lockfile.c: store absolute path

2014-11-05 Thread Michael Haggerty
On 11/05/2014 03:23 AM, Scott Schmit wrote: On Sun, Nov 02, 2014 at 07:24:37AM +0100, Michael Haggerty wrote: Locked paths can be saved in a linked list so that if something wrong happens, *.lock are removed. For relative paths, this works fine if we keep cwd the same, which is true 99% of

Re: [PATCH v5] lockfile.c: store absolute path

2014-11-04 Thread Scott Schmit
On Sun, Nov 02, 2014 at 07:24:37AM +0100, Michael Haggerty wrote: Locked paths can be saved in a linked list so that if something wrong happens, *.lock are removed. For relative paths, this works fine if we keep cwd the same, which is true 99% of time except: - update-index and read-tree