Re: [PATCH v2 26/27] struct ref_update: Add type field

2014-04-02 Thread Junio C Hamano
Junio C Hamano writes: > I wonder if ref-transaction-commit can shrink its parameter list by > accepting a single pointer to one ref_update? Disregard this one. I was fooled into thinking that the function is called with parameters such as update->old_sha1, update_flags, update->type when looki

Re: [PATCH v2 26/27] struct ref_update: Add type field

2014-04-02 Thread Michael Haggerty
On 04/01/2014 10:03 PM, Junio C Hamano wrote: > Michael Haggerty writes: > >> This is temporary space for ref_transaction_commit(). >> >> Signed-off-by: Michael Haggerty >> --- > > I was about to complain to "*Add* type" that does not say what it is > used for at all, with "Please do not add so

Re: [PATCH v2 26/27] struct ref_update: Add type field

2014-04-01 Thread Junio C Hamano
Michael Haggerty writes: > This is temporary space for ref_transaction_commit(). > > Signed-off-by: Michael Haggerty > --- I was about to complain to "*Add* type" that does not say what it is used for at all, with "Please do not add something for unknown purpose only to utilise it in a later pa

[PATCH v2 26/27] struct ref_update: Add type field

2014-03-24 Thread Michael Haggerty
This is temporary space for ref_transaction_commit(). Signed-off-by: Michael Haggerty --- refs.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/refs.c b/refs.c index d1edd57..07f900a 100644 --- a/refs.c +++ b/refs.c @@ -3279,6 +3279,7 @@ struct ref_update { i