Re: [PATCH 11/14] pull: teach git pull about --rebase

2015-06-02 Thread Paul Tan
On Sun, May 31, 2015 at 4:18 PM, Paul Tan wrote: > On Tue, May 19, 2015 at 9:04 PM, Johannes Schindelin > wrote: >> Also, I wonder if something like this would do the job: >> spec = parse_fetch_refspec(1, &refspec); >> if (spec->dst) >> return spec->dst; > > Hmm, I

Re: [PATCH 11/14] pull: teach git pull about --rebase

2015-05-31 Thread Paul Tan
Hi Johannes, On Tue, May 19, 2015 at 9:04 PM, Johannes Schindelin wrote: > On 2015-05-18 17:06, Paul Tan wrote: >> +/** >> + * Given a refspec, returns the merge branch. Returns NULL if the refspec >> src >> + * does not refer to a branch. >> + * >> + * FIXME: It should return the tracking branc