Re: [PATCH v3 5/7] refs: add safe_create_reflog function

2015-06-26 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 --- @@

[PATCH v3 5/7] 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 | 19