SourceTree told me there was a newer version available, so I updated t o 2.1.2.5
Then I saw under Tools -> Options -> Git that there was a newer Embedded Git available, so I updated to 2.12.2 with git-lfs v.2.0.2
Now SourceTree is broken and I can't clone a remote repository.
This is the error I get:
git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st clone --branch master --recursive http://User@server:7990/scm/xxx/yyy.git D:\zzz\yyy
Cloning into 'D:\zzz\yyy'...
warning: templates not found C:\Users\User\AppData\Local\Atlassian\SourceTree\git_local\share\git-core\templates
fatal: TypeInitializationException encountered.
The type initializer for 'Microsoft.Alm.Cli.Program' threw an exception.
The fatal error appears after a few seconds.
In my local repository, there are a few files, i.e. config and HEAD, plus sub-folders called objects and refs
In the objects\pack folder is a file tmp_pack_yy2paa
I have several git.exe processes still active, as well as one git-remote-http.exe processes in Task Manager.
Any ideas ???
Ok, this is crap.
I installed the newest Credential manager, 1.12, and still had the errors in my eventlog, then I tried "git pull" on the commandline, and credential manager asked me for the password, just of sudden...
After entering the correct credential for the repository, everything seemed fine, no more errors in eventlog, so the unneeded flodding stopped.
But, now Sourcetree reports:
"
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st fetch origin
fatal: TypeInitializationException encountered.
The type initializer for 'Microsoft.Alm.Cli.Program' threw an exception.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api -c credential.helper=manager-st pull origin master
fatal: TypeInitializationException encountered.
The type initializer for 'Microsoft.Alm.Cli.Program' threw an exception.
"
I guess it's better to start learning commandline or other tools, sourcetree is giving too much problems.
So this is related to sourcetree?, my eventlog is flooded with these messages.
What does it help that I also have version 1.9.1 of credential manager? (And it's not possible to update the embedded git, since it's always crashing.
Should we upgrade to v1.12.0 from github?, if it's compatible with sourcetree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
git credential-manager version replies with "1.9.1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, judging by the namespace that is the Git Credentials Manager for Windows, or GCM, that is crashing.
From the Terminal you can try running
>git credential-manager version
This will tell the version of the GCM that is being run.
Additionally if you set the environment variable GCM_TRACE=true and try running the clone you should see additional loggng from the GCM.
It might be best to raise an issue at https://jira.atlassian.com as its easier to collate the information there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also get this error " The type initializer for 'Microsoft.Alm.Cli.Program' threw an exception.", although it doesn't seem to affect sourcetree's behavior for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.