Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-22 Thread Eric Sunshine
On Mon, Sep 22, 2014 at 5:00 PM, Marc Branchaud wrote: > On 14-09-21 05:50 AM, Duy Nguyen wrote: >> On Sun, Sep 21, 2014 at 10:10 AM, Eric Sunshine >> wrote: >>> Would it make sense for this "rule of thumb" summary to be presented >>> first, and then the explanation of that rule after, rather th

Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-22 Thread Marc Branchaud
On 14-09-21 05:50 AM, Duy Nguyen wrote: > On Sun, Sep 21, 2014 at 10:10 AM, Eric Sunshine > wrote: >> Would it make sense for this "rule of thumb" summary to be presented >> first, and then the explanation of that rule after, rather than the >> reverse as is currently the case? > > You mean like

Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-21 Thread Duy Nguyen
On Sun, Sep 21, 2014 at 10:10 AM, Eric Sunshine wrote: > Would it make sense for this "rule of thumb" summary to be presented > first, and then the explanation of that rule after, rather than the > reverse as is currently the case? You mean like this? diff --git a/Documentation/git-checkout.txt

Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-20 Thread Eric Sunshine
On Sat, Sep 20, 2014 at 10:41 PM, Duy Nguyen wrote: > On Thu, Sep 11, 2014 at 11:02:36AM -0400, Marc Branchaud wrote: >> Um, didn't you say in [1] that you'd use the text I posted in [2]? >> >> [1] http://article.gmane.org/gmane.comp.version-control.git/256446 >> [2] http://article.gmane.org/gmane

Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-20 Thread Duy Nguyen
On Thu, Sep 11, 2014 at 11:02:36AM -0400, Marc Branchaud wrote: > Um, didn't you say in [1] that you'd use the text I posted in [2]? > > [1] http://article.gmane.org/gmane.comp.version-control.git/256446 > [2] http://article.gmane.org/gmane.comp.version-control.git/256323 That's the problem with

Re: [PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-11 Thread Marc Branchaud
On 14-09-10 06:41 PM, Nguyễn Thái Ngọc Duy wrote: > "git checkout --to" sets up a new working directory with a .git file > pointing to $GIT_DIR/worktrees/. It then executes "git checkout" > again on the new worktree with the same arguments except "--to" is > taken out. The second checkout execution

[PATCH v2 22/32] checkout: support checking out into a new working directory

2014-09-10 Thread Nguyễn Thái Ngọc Duy
"git checkout --to" sets up a new working directory with a .git file pointing to $GIT_DIR/worktrees/. It then executes "git checkout" again on the new worktree with the same arguments except "--to" is taken out. The second checkout execution, which is not contaminated with any info from the current