Re: [PATCH v1 1/3] read-cache: add post-indexchanged hook

2019-02-12 Thread Ben Peart
On 2/8/2019 6:53 PM, brian m. carlson wrote: On Fri, Feb 08, 2019 at 02:51:13PM -0500, Ben Peart wrote: From: Ben Peart Add a post-indexchanged hook that is invoked after the index is written in do_write_locked_index(). This hook is meant primarily for notification, and cannot affect the o

Re: [PATCH v1 1/3] read-cache: add post-indexchanged hook

2019-02-08 Thread brian m. carlson
On Fri, Feb 08, 2019 at 02:51:13PM -0500, Ben Peart wrote: > From: Ben Peart > > Add a post-indexchanged hook that is invoked after the index is written in > do_write_locked_index(). > > This hook is meant primarily for notification, and cannot affect > the outcome of git commands that trigger t

[PATCH v1 1/3] read-cache: add post-indexchanged hook

2019-02-08 Thread Ben Peart
From: Ben Peart Add a post-indexchanged hook that is invoked after the index is written in do_write_locked_index(). This hook is meant primarily for notification, and cannot affect the outcome of git commands that trigger the index write. Signed-off-by: Ben Peart --- builtin/reset.c|