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

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

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 jens.lehm...@web.de wrote: Am 23.07.2012 07:09, schrieb Junio C Hamano: Daniel Graña dan...@gmail.com 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 like

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

2012-07-30 Thread Daniel Graña
Signed-off-by: Daniel Graña dan...@gmail.com --- 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

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 dan...@gmail.com Date: Mon, Jul 30, 2012 at 2:04 PM Subject: Re: [PATCH] Improve tests for detached worktree in git-submodule To: Jeff King p...@peff.net Cc: Junio 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 gits...@pobox.com wrote: Daniel Graña dan...@gmail.com writes: Signed-off-by: Daniel Graña dan...@gmail.com --- t/t7409-submodule-detached-worktree.sh | 31 --- 1 files changed, 24 insertions(+), 7 deletions

[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 dan...@gmail.com --- Remove $TRASH_DIRECTORY and git rev-parse --verify HEAD as suggested by Junio t/t7409-submodule-detached-worktree.sh | 31 --- 1 files

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 dan...@gmail.com wrote: * Check submodule is correctly initialized and updated after cloning .dotfiles Signed-off-by: Daniel Graña dan...@gmail.com --- 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 dan...@gmail.com --- t/t7409-submodule-detached-worktree.sh | 31 --- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/t/t7409-submodule