Re: [PATCH v2 12/23] query_refspecs(): move some constants out of the loop

2013-10-30 Thread Ramkumar Ramachandra
Michael Haggerty wrote: diff --git a/remote.c b/remote.c index e42daa8..a5e6c7f 100644 --- a/remote.c +++ b/remote.c @@ -825,6 +825,8 @@ static int query_refspecs(struct refspec *refs, int ref_count, struct refspec *q { int i; int find_src = !query-src; + const

Re: [PATCH v2 12/23] query_refspecs(): move some constants out of the loop

2013-10-30 Thread Michael Haggerty
On 10/30/2013 12:05 PM, Ramkumar Ramachandra wrote: Michael Haggerty wrote: diff --git a/remote.c b/remote.c index e42daa8..a5e6c7f 100644 --- a/remote.c +++ b/remote.c @@ -825,6 +825,8 @@ static int query_refspecs(struct refspec *refs, int ref_count, struct refspec *q { int i;

[PATCH v2 12/23] query_refspecs(): move some constants out of the loop

2013-10-29 Thread Michael Haggerty
Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote.c b/remote.c index e42daa8..a5e6c7f 100644 --- a/remote.c +++ b/remote.c @@ -825,6 +825,8 @@ static int query_refspecs(struct refspec *refs, int