Re: [PATCH 1/2] Fixes _is_git

2015-02-03 Thread Rémi Rampin
2015-02-02 12:24 UTC-05:00, Remi Rampin remiram...@gmail.com: proc _is_git {path} { + if {[file isfile $path]} { + set fp [open $path r] + gets $fp line + close $fp + if {[regexp ^gitdir: (.+)$ $line line link_target]} {

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

2015-02-03 Thread Rémi Rampin
2015-02-02 12:24 UTC-05:00, Remi Rampin remiram...@gmail.com: - return [_is_git [file join [file dirname $path] $link_target]] + set link_target_abs [file join [file dirname $path] $link_target] 2015-02-03 3:51 UTC-05:00, Chris Packham

Re: [git-gui] bug report: Open existing repository dialog fails on submodules

2015-02-02 Thread Rémi Rampin
2015-02-02 3:41 UTC-05:00, Chris Packham judge.pack...@gmail.com: [...] But it actually looks like git rev-parse --resolve-git-dir $path needs to be run inside a git repository _any_ git repository, which seems a bit backwards to me. [...] Indeed, looking at git-rev-parse(1), the correct

[git-gui] bug report: Open existing repository dialog fails on submodules

2015-01-30 Thread Rémi Rampin
but my tcl-fu is weak. Best -- Rémi Rampin -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html