From: Abdelrazak Younes <younes@lyx.org>
To: Marco Costalba <mcostalba@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [QGit bug] git user settings not retrieved when launched for Windows explorer
Date: Tue, 07 Oct 2008 19:08:14 +0200 [thread overview]
Message-ID: <48EB977E.1030401@lyx.org> (raw)
In-Reply-To: <e5bfff550810070948p6a9b2fdcq51f2b1580cef2f4e@mail.gmail.com>
On 07/10/2008 18:48, Marco Costalba wrote:
> On Tue, Oct 7, 2008 at 2:31 PM, Abdelrazak Younes<younes@lyx.org> wrote:
>
>> No, 'git config user.name' works fine in any directory, even on the naked
>> Windows console (I mean without msys bash). So that must be something else.
>> I've traced it down to
>> MyProcess::on_finished().
>>
>> isErrorExit = (exitStatus != QProcess::NormalExit)
>> || (exitCode != 0&& isWinShell)
>> || !errorDesc.isEmpty()
>> || canceling;
>>
>> At this point we have:
>> exitStatus = NormalExit
>> exitCode = 1
>> isWinShell = false
>> errorDesc.isEmpty() returns true
>> canceling = false
>>
>> Which gives 'isErrorExit = false'. I wonder if the isWinShell test is
>> correct?
>>
>>
>
> Hi Abdel,
>
> I would think it is correct to return isErrorExit == false
>
OK.
> The problem is that it seems git config return empty data if run from
> outside git directory...isn't it ?
>
No, as I said, 'git config user.name' is working just fine outside git
directory.
Abdel.
next prev parent reply other threads:[~2008-10-07 17:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 7:33 [QGit bug] git user settings not retrieved when launched for Windows explorer Abdelrazak Younes
2008-10-07 11:10 ` Marco Costalba
2008-10-07 11:36 ` Abdelrazak Younes
2008-10-07 11:57 ` Marco Costalba
2008-10-07 12:08 ` Abdelrazak Younes
2008-10-07 12:31 ` Abdelrazak Younes
2008-10-07 16:48 ` Marco Costalba
2008-10-07 17:08 ` Abdelrazak Younes [this message]
2008-10-07 13:10 ` [QGIT PATCH] Add safeguards to Git::userInfo() Abdelrazak Younes
2008-10-07 16:50 ` Marco Costalba
2008-10-07 16:55 ` Marco Costalba
2008-10-07 17:38 ` Abdelrazak Younes
2008-10-07 18:03 ` Marco Costalba
2008-10-07 18:20 ` Abdelrazak Younes
2008-10-07 18:28 ` Marco Costalba
2008-10-07 17:12 ` Abdelrazak Younes
2008-10-07 11:16 ` [QGit bug] git user settings not retrieved when launched for Windows explorer Marco Costalba
2008-10-07 11:42 ` Abdelrazak Younes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48EB977E.1030401@lyx.org \
--to=younes@lyx.org \
--cc=git@vger.kernel.org \
--cc=mcostalba@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.