Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-20 Thread Matthieu Moy
Junio C Hamano writes: >> That wouldn't make the commands really easier to type IMHO, as you would >> still have to pull at some point, so it's: >> >> git remote add main http://example.com/project-main-repo >> git pull --set-upstream main master >> >> Vs >> >> git remote add --set-upstr

Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-19 Thread Junio C Hamano
Matthieu Moy writes: > To me, it depends on the involvement in the project. If I plan to send > several contributions to a project, I'd usually clone the upstream and > add my fork. But I also often do: > > - Find a project on GitHub/GitLab/... > - Think about a minor contribution I can make > -

Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-19 Thread Matthieu Moy
Pratyush Yadav writes: > This is not really a review. Just some minor nitpicks I spotted while > reading through. Thanks for the comments. >> -static int all, append, dry_run, force, keep, multiple, update_head_ok, >> verbosity, deepen_relative; >> +static int all, append, dry_run, force, kee

Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-19 Thread Matthieu Moy
Junio C Hamano writes: > Matthieu Moy writes: > >> From: Corentin BOMPARD >> >> Add the --set-upstream option to git pull/fetch >> which lets the user set the upstream configuration >> (branch..merge and >> branch..remote) for the current branch. >> >> A typical use-case is: >> >> git clone

Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-14 Thread Junio C Hamano
Matthieu Moy writes: > From: Corentin BOMPARD > > Add the --set-upstream option to git pull/fetch > which lets the user set the upstream configuration > (branch..merge and > branch..remote) for the current branch. > > A typical use-case is: > > git clone http://example.com/my-public-fork >

Re: [PATCH] pull, fetch: add --set-upstream option

2019-08-14 Thread Pratyush Yadav
Hi Matthieu, This is not really a review. Just some minor nitpicks I spotted while reading through. On 14/08/19 03:46PM, Matthieu Moy wrote: > From: Corentin BOMPARD > > Add the --set-upstream option to git pull/fetch > which lets the user set the upstream configuration > (branch..merge and >

[PATCH] pull, fetch: add --set-upstream option

2019-08-14 Thread Matthieu Moy
From: Corentin BOMPARD Add the --set-upstream option to git pull/fetch which lets the user set the upstream configuration (branch..merge and branch..remote) for the current branch. A typical use-case is: git clone http://example.com/my-public-fork git remote add main http://example.com/