Re: [QGit bug] git user settings not retrieved when launched for Windows explorer
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Oct 7, 2008, 11:57 UTC
- Message-ID
- <e5bfff550810070457i702c2935lfcc0b60ae3df4dc4@mail.gmail.com>
- In-Reply-To
- <48EB49B3.1090509@lyx.org>
On Tue, Oct 7, 2008 at 1:36 PM, Abdelrazak Younes <younes@lyx.org> wrote:
Show 9 quoted lines
> >> Sound like a problem of startup directory: on the command line you >> start from the right directory...when you double click on which repo >> qgit is open ? >> > > None of course. But when I open a repository manually I would expect that > this is properly filled in. >
In git.cpp, Git::userInfo() function get info about user by means of 'git config' calls, my guess (I cannot it test now) is that 'git config' does not work if we are not in a git directory.
> And if I launch qgit with the context menu (right clicking a directory in > the Explorer), qgit never managed to open the repository. >
This is a bug that I never managed to get rid of :-(
It is strange because it works if you try in a subdirectory, as example try right clicking on 'src' directory of qgit project.
Thanks Marco