Re: git checkout -t -B

2012-08-28 Thread Philip Oakley
From: "Junio C Hamano" Sent: Tuesday, August 28, 2012 12:22 AM "Philip Oakley" writes: I searched for all occurrences of '[[' which would indicate a double optional argument within the synopsis and only found git-read-tree. Double-optional? That is not an issue. For clarification, I was

Re: git checkout -t -B

2012-08-27 Thread Junio C Hamano
"Philip Oakley" writes: > I searched for all occurrences of '[[' which would indicate a double > optional argument within the synopsis and only found git-read-tree. Double-optional? That is not an issue. If an option always takes a parameter, we would have git cmd [--option parameter

Re: git checkout -t -B

2012-08-27 Thread Philip Oakley
From: "Junio C Hamano" Sent: Sunday, August 26, 2012 7:38 PM 乙酸鋰 writes: git checkout -t -B origin/abcde works but git checkout -B -t origin/abcde does not. Could you document the order of parameters or fix the behaviour? It is crystal clear that -b/-B/--orphan must be follo

Re: git checkout -t -B

2012-08-27 Thread Junio C Hamano
Nguyen Thai Ngoc Duy writes: > On Mon, Aug 27, 2012 at 1:38 AM, Junio C Hamano wrote: >> 乙酸鋰 writes: >> >>> git checkout -t -B origin/abcde >>> works >>> >>> but >>> git checkout -B -t origin/abcde >>> does not. >>>

Re: git checkout -t -B

2012-08-27 Thread Nguyen Thai Ngoc Duy
On Mon, Aug 27, 2012 at 1:38 AM, Junio C Hamano wrote: > 乙酸鋰 writes: > >> git checkout -t -B origin/abcde >> works >> >> but >> git checkout -B -t origin/abcde >> does not. >> >> Could you document the order of parameters or fix the behaviou

Re: git checkout -t -B

2012-08-26 Thread Junio C Hamano
乙酸鋰 writes: > git checkout -t -B origin/abcde > works > > but > git checkout -B -t origin/abcde > does not. > > Could you document the order of parameters or fix the behaviour? It is crystal clear that -b/-B/--orphan must be followed by the name of the branch you are cr

git checkout -t -B

2012-08-26 Thread 乙酸鋰
Dear Sir, I want to make current branch abcde a remote tracking branch with origin/abcde. Since I am working on current branch abcde, I have to use the force option. So I run git checkout -t -B origin/abcde works but git checkout -B -t origin/abcde does not. Could you document the order of