Re: [PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
On Mon, Jul 30, 2012 at 3:09 PM, Junio C Hamano wrote: > Daniel Graña writes: > >> * Check submodule is correctly initialized and updated after cloning >> .dotfiles >> >> Signed-off-by: Daniel Graña >> --- > > Thanks. > >> @@ -23,14 +27,27 @@

[PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
* Check submodule is correctly initialized and updated after cloning .dotfiles Signed-off-by: Daniel Graña --- t/t7409-submodule-detached-worktree.sh | 31 --- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/t/t7409-submodule-detached-worktree.sh b

Re: [PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
On Mon, Jul 30, 2012 at 2:43 PM, Daniel Graña wrote: > * Check submodule is correctly initialized and updated after cloning .dotfiles > > Signed-off-by: Daniel Graña > --- Ignore this patch, I am sending another without extra space after standard output redirection.

[PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
* Check submodule is correctly initialized and updated after cloning .dotfiles Signed-off-by: Daniel Graña --- Remove $TRASH_DIRECTORY and "git rev-parse --verify HEAD" as suggested by Junio t/t7409-submodule-detached-worktree.sh | 31 --- 1 files c

Re: [PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
On Mon, Jul 30, 2012 at 2:02 PM, Junio C Hamano wrote: > Daniel Graña writes: > >> Signed-off-by: Daniel Graña >> --- >> t/t7409-submodule-detached-worktree.sh | 31 >> --- >> 1 files changed, 24 insertions(+), 7 deletions(-)

Fwd: [PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
Forwardning for the record as vger rejected my previous HTML email. -- Forwarded message -- From: Daniel Graña Date: Mon, Jul 30, 2012 at 2:04 PM Subject: Re: [PATCH] Improve tests for detached worktree in git-submodule To: Jeff King Cc: Junio C Hamano , git@vger.kernel.org Hi

[PATCH] Improve tests for detached worktree in git-submodule

2012-07-30 Thread Daniel Graña
Signed-off-by: Daniel Graña --- t/t7409-submodule-detached-worktree.sh | 31 --- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/t/t7409-submodule-detached-worktree.sh b/t/t7409-submodule-detached-worktree.sh index db75642..d88f400 100755 --- a/t

Re: [PATCH] Solve git-submodule issues with detached work trees

2012-07-23 Thread Daniel Graña
On Mon, Jul 23, 2012 at 2:38 PM, Jens Lehmann wrote: > Am 23.07.2012 07:09, schrieb Junio C Hamano: >> Daniel Graña writes: >> >>> A common way to track dotfiles with git is using GIT_DIR and >>> GIT_WORK_TREE to move repository out of ~/.git with something

[PATCH] Solve git-submodule issues with detached work trees

2012-07-22 Thread Daniel Graña
e/git-submodule cannot be used without a working tree. Signed-off-by: Daniel Graña --- git-submodule.sh |7 +++- t/t7409-submodule-detached-worktree.sh | 61 2 files changed, 66 insertions(+), 2 deletions(-) create mode 100755 t/t7409-