Open
Conversation
added 2 commits
December 7, 2015 15:36
Removed all command line calls for the Git import and replaced with the NGit library to significantly increase the performance.
All changes are now correctly checked, including edits that don't modify the file. This prevents us from having to do a status to verify whether we would create an empty commit. This now builds a project of 6000 files with 5000 commits under 10 minutes.
Owner
|
Nice. But this seems to break the new "Continue sync" functionality and all commit times are 1 hour off, possibly a UTC conversion issue as I'm at UTC+1. Could you have a look into that? |
Author
|
The time zone thing is probably easily fixed. I'll have a look at the On Tue, Dec 8, 2015, 21:45 Rustam Abdullaev notifications@github.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've made some improvements to your fork of the Vss2Git project. Your changes helped me a lot already to do the conversion, and I think these changes are good improvement.
What I did is basically remove the dependency is msysGit. Instead, I use the NGit library (my own fork of this because there were a few issues with it). This means that it doesn't start new processes anymore.
I've tested this on a project of 6000 files with 5000 commits and the whole conversion now runs in roughly 6 minutes.