git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Rappazzo <rappazzo@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Git List <git@vger.kernel.org>, git-for-windows@googlegroups.com
Subject: Re: [ANNOUNCE] Git for Windows 2.12.2
Date: Thu, 30 Mar 2017 15:49:14 -0400	[thread overview]
Message-ID: <CANoM8SVLHRtRbW6AD9CNxEOs7KYTpvSCvLquCBchH=mjdE2w2w@mail.gmail.com> (raw)
In-Reply-To: <CAKxAQzeHCpL+v=HxrVYBhb_MppSK2ffQs6f_wJCEaJEYrWCu2Q@mail.gmail.com>

Forwarding to the lists, as my original message was rejected for html.

On Thu, Mar 30, 2017 at 3:44 PM, Andrew Witte <zezba9000@gmail.com> wrote:
> Just updated back to git 2.12.2 and git-lfs 2.0.2 and everything worked
> fine. Wish I could have gotten more info when it happened as its happened on
> a different computer as well. Will keep an eye out.
>
> Also another note that I really don't like with Windows for Git since 2.12
> is that It packages git-lfs with it. When I use the cmd it overrides the
> other git-lfs install I have. I have to manually go and remove the old
> git-lfs file in "program files" for things to work correctly.
>
> On top of this git-lfs needs to be registered in the environment vars
> because this is what the main git-lfs install does and apps Iv'e made like
> Git-It-GUI (https://github.com/reignstudios/Git-It-GUI) invoke git-lfs
> directly for some stuff. Because of this issue, the app will think a newer
> version is installed thats different from what the normal git cmd reports.
> Also doing git clone outside of the windows cmd with only git for windows
> installed doesn't invoke git-lfs correctly as its not registered in the
> system environment vars.  In short I don't think it should be shipped with
> the installer as it just creates confusion.
>
> On Thu, Mar 30, 2017 at 8:41 AM, Michael Rappazzo <rappazzo@gmail.com>
> wrote:
>>
>> I suspect that this is a problem in the windows credential manager.  I
>> tried this on:
>>   - git 2.12.2.windows.1 => failure
>>   - git 2.12.1.windows.1 => success
>>
>> More Details:
>> I have a perl script which uses (a copy of Git.pm) to invoke the
>> credential manager.  While debugging that script, I dumped the hash that I
>> read from the credential manager:
>>
>>     $git->credential($cred, 'fill');
>>     print Data::Dumper->Dump( [ $cred ] , [ "cred" ] );
>>
>> In 2.12.2, this produces output like this:
>>
>>     $cred = {
>>       'path' => '',
>>       'protocol' => 'https',
>>       'username' => '',
>>       'host' => 'some.host.com',
>>       'password' => ''
>>     };
>>
>> In 2.12.1, this produces output like this:
>>
>>     $cred = {
>>       'path' => '',
>>       'host' => 'some.host.com',
>>       'protocol' => 'https',
>>       'password' => 'my.password',
>>       'username' => 'mrappazzo'
>>     };
>>
>> While debugging this, I did something to get it to work on 2.12.2.  After
>> downgrading to 2.12.1, I manually removed the credentials from Credential
>> Manager (in Control Panel).  After successful authentication, they were back
>> in the credential manager.  I then upgraded to 2.12.2, and I was able to
>> successfully authenticate.
>>
>> To try to recreate the problem scenario again (in 2.12.2), I cleared the
>> credentials in Credential Manager.  Reattempting to authenticate gave the
>> credentials prompt.  The output of the perl hash was missing the password
>> again (thus, reproducing the error condition).
>>
>> I hope this helps.
>> _Mike
>>
>>
>> On Wednesday, March 29, 2017 at 10:06:03 PM UTC-4, Andrew Witte wrote:
>>>
>>> I'll try to get more info tomorrow.
>>>
>>>
>>> On Wednesday, March 29, 2017 at 2:59:10 PM UTC-7, Johannes Schindelin
>>> wrote:
>>>>
>>>> Hi Andrew,
>>>>
>>>> On Wed, 29 Mar 2017, Andrew Witte wrote:
>>>>
>>>> > The git 2.12 GCM for Windows is broken. I tried doing a git clone and
>>>> > got "*remote: HTTP Basic: Access denied*".
>>>> > I downgraded to git 2.11.0 and everything worked fine.
>>>>
>>>> Could you test v2.12.1, too, and open a bug report at:
>>>> https://github.com/git-for-windows/git/issues/new ?
>>>>
>>>> I am particularly interested in any details you can share that would
>>>> help
>>>> other developers like me to reproduce the issue.
>>>>
>>>> Thank you,
>>>> Johannes
>
>

      parent reply	other threads:[~2017-03-30 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-27 19:48 [ANNOUNCE] Git for Windows 2.12.2 Johannes Schindelin
     [not found] ` <87642eee-7eca-447d-b726-2fa87d212288@googlegroups.com>
2017-03-29 21:59   ` Johannes Schindelin
     [not found]     ` <75e7cd5c-2813-454d-aa14-53cf1d5e6f80@googlegroups.com>
     [not found]       ` <56935015-3f5e-4cb6-a4f8-7c5c47eeade3@googlegroups.com>
     [not found]         ` <CAKxAQzeHCpL+v=HxrVYBhb_MppSK2ffQs6f_wJCEaJEYrWCu2Q@mail.gmail.com>
2017-03-30 19:49           ` Mike Rappazzo [this message]

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='CANoM8SVLHRtRbW6AD9CNxEOs7KYTpvSCvLquCBchH=mjdE2w2w@mail.gmail.com' \
    --to=rappazzo@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git-for-windows@googlegroups.com \
    --cc=git@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).