[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 dtur...@twopensource.com --- builtin/checkout.c | 4 +--- refs.c | 11

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

2015-06-25 Thread Junio C Hamano
David Turner dtur...@twopensource.com 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 dtur...@twopensource.com ---