[PATCH 0/2] [git-gui] Open existing repository with submodules

2015-03-06 Thread Remi Rampin
I'm really not sure if/how git-gui is maintained but I do hope somebody cares about this component, that is still AFAIK distributed with Git. Remi Rampin (2): Fixes chooser not accepting gitfiles Makes chooser set 'gitdir' to the resolved path lib/choose_repository.tcl | 21

[PATCH 1/2] Fixes chooser not accepting gitfiles

2015-03-06 Thread Remi Rampin
Makes _is_git handle the case where the path is a gitdir: ... file. Signed-off-by: Remi Rampin remiram...@gmail.com --- lib/choose_repository.tcl | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index 92d6022..abc6b1d 100644

[PATCH 2/2] Makes chooser set 'gitdir' to the resolved path

2015-03-06 Thread Remi Rampin
If _is_git follows a gitdir: ... file link to get to the actual repository, we want _gitdir to be set to that final path. Signed-off-by: Remi Rampin remiram...@gmail.com --- lib/choose_repository.tcl | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib

[PATCH 0/2] gitfile support git git-gui

2015-02-05 Thread Remi Rampin
New patch series. I hadn't realized Git doesn't recurse on gitdir: ... links itself, it only follows one. Also normalizes the path to the Git repository as requested. Remi Rampin (2): Fixes chooser not accepting gitfiles Makes chooser set 'gitdir' to the resolved path lib

[PATCH 1/2] Fixes chooser not accepting gitfiles

2015-02-05 Thread Remi Rampin
Makes _is_git handle the case where the path is a gitdir: ... file. --- lib/choose_repository.tcl | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index 92d6022..abc6b1d 100644 --- a/lib/choose_repository.tcl +++

[PATCH 2/2] Makes chooser set 'gitdir' to the resolved path

2015-02-05 Thread Remi Rampin
If _is_git follows a gitdir: ... file link to get to the actual repository, we want _gitdir to be set to that final path. --- lib/choose_repository.tcl | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index

[PATCH 2/2] Makes _do_open2 set _gitdir to actual path

2015-02-02 Thread Remi Rampin
If _is_git had to follow gitdir: ... files to reach the actual Git directory, we set _gitdir to that final path. --- lib/choose_repository.tcl | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index

[PATCH 1/2] Fixes _is_git

2015-02-02 Thread Remi Rampin
Function _git_dir would previously fail to accept a gitdir: ... file as a valid Git repository. --- lib/choose_repository.tcl | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index 92d6022..49ff641 100644 ---