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
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
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
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
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
+++
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
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
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
---
8 matches
Mail list logo