Re: [PATCH 08/31] refs.c: only write reflog update if msg is non-NULL

2014-05-19 Thread Ronnie Sahlberg
On Fri, May 16, 2014 at 2:24 PM, Junio C Hamano wrote: > Ronnie Sahlberg writes: > >> When performing a reflog transaction update, only write to the reflog iff >> msg is non-NULL. This can then be combined with REFLOG_TRUNCATE to perform >> an update that only truncates but does not write. >> >>

Re: [PATCH 08/31] refs.c: only write reflog update if msg is non-NULL

2014-05-16 Thread Junio C Hamano
Ronnie Sahlberg writes: > When performing a reflog transaction update, only write to the reflog iff > msg is non-NULL. This can then be combined with REFLOG_TRUNCATE to perform > an update that only truncates but does not write. > > Signed-off-by: Ronnie Sahlberg > --- > refs.c | 8 +--- >

[PATCH 08/31] refs.c: only write reflog update if msg is non-NULL

2014-05-14 Thread Ronnie Sahlberg
When performing a reflog transaction update, only write to the reflog iff msg is non-NULL. This can then be combined with REFLOG_TRUNCATE to perform an update that only truncates but does not write. Signed-off-by: Ronnie Sahlberg --- refs.c | 8 +--- refs.h | 1 + 2 files changed, 6 insertio