Michael Haggerty writes:
> On 03/03/2014 07:31 PM, Junio C Hamano wrote:
>> That is a very good sign why this change is merely a code-churn and
>> not an improvement, isn't it? We know (and any strbuf user should
>> know) that ->buf and ->len are the ways to learn the pointer and the
>> length t
> I'm the guilty one. I like the change (obviously, since I suggested
> it). Writing strbufs comes up frequently and will hopefully increase in
> usage and I think it is a positive thing to encourage the use of strbufs
> by making them increasingly first-class citizens.
>
> But I can see your poi
On 03/03/2014 07:31 PM, Junio C Hamano wrote:
> Eric Sunshine writes:
>
>> On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
>>> 2014-03-01 19:21 GMT+08:00 Faiz Kothari :
diff --git a/remote-curl.c b/remote-curl.c
index 10cb011..dee8716 100644
--- a/remote-curl.c
+++ b/remote-cur
On Mon, Mar 3, 2014 at 3:35 PM, Junio C Hamano wrote:
> Eric Sunshine writes:
>> On Mon, Mar 3, 2014 at 1:31 PM, Junio C Hamano wrote:
>>> Eric Sunshine writes:
It's not obvious from the patch fragment, but 'heads' is not a strbuf,
so Faiz correctly left this invocation alone.
>>>
>>>
Eric Sunshine writes:
> On Mon, Mar 3, 2014 at 1:31 PM, Junio C Hamano wrote:
>> Eric Sunshine writes:
>>
>>> On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
2014-03-01 19:21 GMT+08:00 Faiz Kothari :
> diff --git a/remote-curl.c b/remote-curl.c
> index 10cb011..dee8716 100644
>
Eric Sunshine writes:
> As a potential GSoC student and newcomer to the project, Faiz would
> not have known that this would be considered unwanted churn when he
> chose the task from the GSoC microproject page [1]. Perhaps it would
> be a good idea to retire this item from the list?
>
> On the o
On Mon, Mar 3, 2014 at 1:31 PM, Junio C Hamano wrote:
> Eric Sunshine writes:
>
>> On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
>>> 2014-03-01 19:21 GMT+08:00 Faiz Kothari :
diff --git a/remote-curl.c b/remote-curl.c
index 10cb011..dee8716 100644
--- a/remote-curl.c
+++ b/re
On Tue, Mar 4, 2014 at 12:01 AM, Junio C Hamano wrote:
> Eric Sunshine writes:
>
>> On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
>>> 2014-03-01 19:21 GMT+08:00 Faiz Kothari :
diff --git a/remote-curl.c b/remote-curl.c
index 10cb011..dee8716 100644
--- a/remote-curl.c
+++ b/r
Eric Sunshine writes:
> On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
>> 2014-03-01 19:21 GMT+08:00 Faiz Kothari :
>>> diff --git a/remote-curl.c b/remote-curl.c
>>> index 10cb011..dee8716 100644
>>> --- a/remote-curl.c
>>> +++ b/remote-curl.c
>>> @@ -634,7 +634,7 @@ static int rpc_service(struc
Faiz Kothari writes:
> Signed-off-by: Faiz Kothari
> ---
> Implemented write_or_die.c:strbuf_write_or_die() and used in relevant places
> to substitute write_or_die(). I spotted other places where strbuf can be used
> in place of buf[MAX_PATH] but that would require a change in prototype of a
>
On Sat, Mar 1, 2014 at 7:51 AM, He Sun wrote:
> 2014-03-01 19:21 GMT+08:00 Faiz Kothari :
>> diff --git a/remote-curl.c b/remote-curl.c
>> index 10cb011..dee8716 100644
>> --- a/remote-curl.c
>> +++ b/remote-curl.c
>> @@ -634,7 +634,7 @@ static int rpc_service(struct rpc_state *rpc, struct
>> dis
Please leave a little more time for people to give feedback between
versions of a patch series (unless the first version was so broken that
it would be pointless for any other reviewer to waste time on it. And
please label the versions of a single patch series "[PATCH]" then
"[PATCH v2]", "[PATCH
Am 01.03.2014 12:21, schrieb Faiz Kothari:
> Signed-off-by: Faiz Kothari
> ---
> Implemented write_or_die.c:strbuf_write_or_die() and used in relevant places
> to substitute write_or_die(). I spotted other places where strbuf can be used
> in place of buf[MAX_PATH] but that would require a change
Signed-off-by: Faiz Kothari
---
> > - write_or_die(1, rpc.result.buf, rpc.result.len);
> > + strbuf_write_or_die(1, &(rpc.result.buf));
> May be this should be
> strbuf_write_or_die(1, &(rpc.result));
Yes, I changed that :-) Thanks again.
> Maybe we just call write_o
2014-03-01 19:21 GMT+08:00 Faiz Kothari :
> Signed-off-by: Faiz Kothari
> ---
> Implemented write_or_die.c:strbuf_write_or_die() and used in relevant places
> to substitute write_or_die(). I spotted other places where strbuf can be used
> in place of buf[MAX_PATH] but that would require a change i
Signed-off-by: Faiz Kothari
---
Implemented write_or_die.c:strbuf_write_or_die() and used in relevant places
to substitute write_or_die(). I spotted other places where strbuf can be used
in place of buf[MAX_PATH] but that would require a change in prototype of a
lot of functions and functions cal
16 matches
Mail list logo