Re: [PATCH v2 4/6] refs: add safe_create_reflog function

2015-06-25 Thread Junio C Hamano
David Turner writes: > Make log_ref_setup private, and add public safe_create_reflog which > calls log_ref_setup. > > In a moment, we will use safe_create_reflog to add reflog creation > commands to git-reflog. > > Signed-off-by: David Turner > --- > builtin/checkout.c | 4 +--- > refs.c

[PATCH v2 4/6] refs: add safe_create_reflog function

2015-06-25 Thread David Turner
Make log_ref_setup private, and add public safe_create_reflog which calls log_ref_setup. In a moment, we will use safe_create_reflog to add reflog creation commands to git-reflog. Signed-off-by: David Turner --- builtin/checkout.c | 4 +--- refs.c | 11 +++ refs.h