Re: [PATCH v2 05/17] refs.c: add transaction support for replacing a reflog

2014-11-03 Thread Junio C Hamano
Ronnie Sahlberg writes: > Add a new transaction function transaction_replace_reflog. > This function takes a blob and replaces the new or existing reflog with the > content of this blob. This will be used by rename_ref where we basically want > to copy the existing blob as is. Hmph, I find that

[PATCH v2 05/17] refs.c: add transaction support for replacing a reflog

2014-11-03 Thread Ronnie Sahlberg
Add a new transaction function transaction_replace_reflog. This function takes a blob and replaces the new or existing reflog with the content of this blob. This will be used by rename_ref where we basically want to copy the existing blob as is. Signed-off-by: Ronnie Sahlberg --- refs.c | 38 +++