Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mwindow: init mwindow files in git_libgit2_init #3879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2016

Conversation

ethomson
Copy link
Member

@ethomson ethomson commented Aug 3, 2016

No description provided.

git__pack_cache = NULL;
git_strmap_free(tmp);
}

/**
* Run under mwindow lock
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is not valid anymore, is it?

@pks-t
Copy link
Member

pks-t commented Aug 4, 2016

Looks good to me besides the minor nit on the stale comment

ret = git_openssl_stream_global_init();
(ret = git_transport_ssh_global_init()) == 0 &&
(ret = git_openssl_stream_global_init()) == 0)
ret = git_mwindow_global_init();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this commit in our repo, and TSAN doesn't complain. (well, except for the sysdir init which we are discussing separately.)

@ethomson ethomson force-pushed the ethomson/mwindow_init branch from bced952 to 2381d9e Compare August 4, 2016 14:31
@ethomson ethomson merged commit da7f9fe into master Aug 4, 2016
@hanwen hanwen mentioned this pull request Aug 8, 2016
4 tasks
@ethomson ethomson deleted the ethomson/mwindow_init branch January 13, 2017 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants