git-for-windows / git

A fork of Git containing Windows-specific patches.
http://gitforwindows.org/
Other
8.31k stars 2.52k forks source link

Can't work with remote, everything with BitBucket! #1791

Closed benyaminl closed 6 years ago

benyaminl commented 6 years ago
$ git --version --build-options

git version 2.18.0.windows.1
cpu: x86_64
built from commit: cd1a74fc9dc8a07626c216940db9a51f25206e03
sizeof-long: 4
$ cmd.exe /c ver

Microsoft Windows [Version 6.1.7601]

Details

Everything, bash, PowerShell, CMD, and such

After entering the password from pop up it doesn't work and cause Xhttpexeption, I use both busybox version of git, mingit, portable git and installed git.

It authenticate with bitbucket and I shouldn't do anything else, (I hope there's option for this, thanks)

dscho commented 6 years ago

After entering the password from pop up it doesn't work and cause Xhttpexeption

Details, please.

timmetj commented 6 years ago

Maybe related to this: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/pull/720

new release of credential manager could help

benyaminl commented 6 years ago

Seems that. But when ?

Sent from My Asus Pegasus X005

Pada tanggal Sel, 14 Agt 2018 16.11, timmetj notifications@github.com menulis:

Maybe related to this: Microsoft/Git-Credential-Manager-for-Windows#720 https://github.com/Microsoft/Git-Credential-Manager-for-Windows/pull/720

new release of credential manager could help

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/git-for-windows/git/issues/1791#issuecomment-412806929, or mute the thread https://github.com/notifications/unsubscribe-auth/ACr9NFsheefykLFBAP1DlvU5-anrRYpmks5uQpRAgaJpZM4V5ATx .

dscho commented 6 years ago

Seems that. But when ?

@benyaminl it is already there: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.1

It would be wise to test it right away...

benyaminl commented 6 years ago

@dscho I don't use git installer, I use git busybox, is there anyway to force the installation. Thanks

benyaminl commented 6 years ago

@dscho seems it's windows and GCM also bitbucket related issue,, it sucks really. Thanks anyway.. https://github.com/Microsoft/Git-Credential-Manager-for-Windows/milestone/29?closed=1

dscho commented 6 years ago

I don't use git installer

I told you to use the Git Credential Manager, not the Git installer.

I use git busybox

You mean that you use MinGit-busybox? MinGit is not intended for interactive usage.

is there anyway to force the installation

No. It is on the radar, but there are too many people here who do the asking (such as you do), and too few who do the doing (such as I try, but there is just too much).

If you could find it in yourself to contribute a bit, I could help you to get what you want.

benyaminl commented 6 years ago

@dscho Yep, I use MinGit-busybox. It's small has small footprint. As it's working for me doesn't matter if it's not designed for interactive usage or not (git installer is very big, takes about 1gb of disk space, and MinGit-busybox is only 30mb and it works :+1: ).

Anyway as I stated above, it's GCM Issue, not git issue, because it's asking for oauth and it failed. and after upgrade to 1.17.1 the authentication is working again and it's GCM issue :) refer to this GCM 1.17.1 and I use MinGit64-2.18.0 Comes with GCM 1.16.2

Anyway how do I contribute? I'm not picking a fight, I hope my bad english doesn't affect the way I communicate or write, that make my statement seems I'm a douche-bag

dscho commented 6 years ago

Yep, I use MinGit-busybox. It's small has small footprint. As it's working for me doesn't matter if it's not designed for interactive usage or not (git installer is very big, takes about 1gb of disk space, and MinGit-busybox is only 30mb and it works 👍 ).

Well... it matters if you use for an unintended purpose because you obviously want me to fix it for you (your "it's working for me" is contradicted by your opening this here ticket).

Anyway how do I contribute?

I am glad you ask.

One of the things I really want to see is BusyBox to be tested thoroughly. Last time I tried to run the test suite through it, it failed pretty badly, not only because it required a working perl.exe (which is the fault of the Git test suite, not of BusyBox, of course), but also because there were inexplicable hangs.

So here is something you can do: you can test the heart out of MinGit(BusyBox) to try to find weak spots, then investigate further where issues arise (as mentioned in https://github.com/git-for-windows/git/issues/1439#issuecomment-380504854). The more you can help, the better.

benyaminl commented 6 years ago

@dscho Yeah I know it sucks, I can feels that (Sometimes user asking to fix something ridiculous). But this time I see that GCW do something wrong it it.. hahaha.

I don't have project with git submodule, maybe there's open project to test ? Thanks :)

Edit: I tried fermikit, I don't know what kind of repo is that, but when I run git submodule to update, it doesn't have any error happen. anyway, maybe could you explain set-x ? I'm not familiar with it, so the git could print the executed command. Thanks

Output of the submodule

D:\Git>git clone https://github.com/lh3/fermikit.git
Cloning into 'fermikit'...
remote: Counting objects: 234, done.
Receiving objects:  94% (220/234), 7.50 MiB | 156.00 KiB/s
Receiving objects: 100% (234/234), 7.63 MiB | 239.00 KiB/s, done.
Resolving deltas: 100% (134/134), done.

D:\Git>git submodule update --init --recursive
fatal: not a git repository (or any of the parent directories): .git

D:\Git>cd fermikit\

D:\Git\fermikit>git submodule update --init --recursive
Submodule 'bfc' (https://github.com/lh3/bfc) registered for path 'bfc'
Submodule 'bwa' (https://github.com/lh3/bwa) registered for path 'bwa'
Submodule 'fermi2' (https://github.com/lh3/fermi2.git) registered for path 'fermi2'
Submodule 'hapdip' (https://github.com/lh3/hapdip) registered for path 'hapdip'
Submodule 'htsbox' (https://github.com/lh3/htsbox) registered for path 'htsbox'
Submodule 'ropebwt2' (https://github.com/lh3/ropebwt2) registered for path 'ropebwt2'
Submodule 'seqtk' (https://github.com/lh3/seqtk.git) registered for path 'seqtk'
Submodule 'trimadap' (https://github.com/lh3/trimadap) registered for path 'trimadap'
Cloning into 'D:/Git/fermikit/bfc'...
Cloning into 'D:/Git/fermikit/bwa'...
Cloning into 'D:/Git/fermikit/fermi2'...
Cloning into 'D:/Git/fermikit/hapdip'...
Cloning into 'D:/Git/fermikit/htsbox'...
dscho commented 6 years ago

set-x

In general, set -x is used in Unix shell scripts to turn on "tracing", i.e. the Unix shell interpreter (in our case, Bash) will print every command in the script before it is executed.

benyaminl commented 6 years ago

Okay then what should I do, I mean where I should put it? I read the bash code but I can't understand it.

Sent from My Asus Pegasus X005

Pada tanggal Sen, 20 Agt 2018 22.55, Johannes Schindelin < notifications@github.com> menulis:

set-x

In general, set -x is used in Unix shell scripts to turn on "tracing", i.e. the Unix shell interpreter (in our case, Bash) will print every command in the script before it is executed.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/git-for-windows/git/issues/1791#issuecomment-414368068, or mute the thread https://github.com/notifications/unsubscribe-auth/ACr9NIoqz-ryDZmepQ1paaPCCzPv61m2ks5uStv3gaJpZM4V5ATx .