Re: [PATCH] refs.c: add new functions reflog_exists and delete_reflog

2014-05-06 Thread Ronnie Sahlberg
Thanks. On Tue, May 6, 2014 at 8:55 AM, Michael Haggerty wrote: > On 05/06/2014 12:57 AM, Ronnie Sahlberg wrote: >> Add two new functions, reflog_exists and delete_reflog to hide the internal > > Need comma after "delete_reflog". Done. And the other typos too. > >> reflog implementation (that th

Re: [PATCH] refs.c: add new functions reflog_exists and delete_reflog

2014-05-06 Thread Michael Haggerty
On 05/06/2014 12:57 AM, Ronnie Sahlberg wrote: > Add two new functions, reflog_exists and delete_reflog to hide the internal Need comma after "delete_reflog". > reflog implementation (that they are files under .git/logs/...) from callers. > Update checkout.c to use these functions in update_refs_

[PATCH] refs.c: add new functions reflog_exists and delete_reflog

2014-05-05 Thread Ronnie Sahlberg
Add two new functions, reflog_exists and delete_reflog to hide the internal reflog implementation (that they are files under .git/logs/...) from callers. Update checkout.c to use these functions in update_refs_for_switch instead of building pathnames and calling out to file access functions. Update