Re: [PATCH 1/2] refs.c: write updates to packed refs when a transaction has more than one ref

2014-06-09 Thread Ronnie Sahlberg
thanks On Sun, Jun 8, 2014 at 2:03 AM, Eric Sunshine wrote: > On Thu, Jun 5, 2014 at 7:26 PM, Ronnie Sahlberg wrote: >> When we are updating more than one single ref, i.e. not a commit, then >> write the updated refs directly to the packed refs file instead of writing >> them as loose refs. >> >

Re: [PATCH 1/2] refs.c: write updates to packed refs when a transaction has more than one ref

2014-06-08 Thread Eric Sunshine
On Thu, Jun 5, 2014 at 7:26 PM, Ronnie Sahlberg wrote: > When we are updating more than one single ref, i.e. not a commit, then > write the updated refs directly to the packed refs file instead of writing > them as loose refs. > > Change clone to use a transaction instead of using the pacekd refs

[PATCH 1/2] refs.c: write updates to packed refs when a transaction has more than one ref

2014-06-05 Thread Ronnie Sahlberg
When we are updating more than one single ref, i.e. not a commit, then write the updated refs directly to the packed refs file instead of writing them as loose refs. Change clone to use a transaction instead of using the pacekd refs api. Signed-off-by: Ronnie Sahlberg --- builtin/clone.c | 16 +