Clone of Stash is late.

Although Clone of Stash was Import(ed) by EGit of Eclipse, before completing, it will take time very much.

4 answers

Hi Takenori,

I'm afraid I'm not entirely sure what you're asking.

Are you saying the clone times of the EGit repository in Stash is unexpectedly slow? Could you tell us how slow the clone is, and how big the repository is? Are you cloning over a slow network? Is the Stash server under much load? Is there anything in the Stash logs to indicate something is not behaving as expected?

Sorry for all the questions.

Charles

Hi Charles

I'm sorry the description unexpected.

Number of files in the repository: 1391

Number of folders in the repository: 117

Total size of the repository:552MB

Network Speed: More than 10MB

By the way, I can get the repository within two minutes when I use the TortoiseGit.

Hi Takenori,

Ahh, sorry now I understand. So you're saying when you use Eclipse it takes a while to clone, but is fine under TortoiseGit. I think the promise is more likely in the implementation of EGit, which there isn't much we can do about. EGit is almost always slower than native Git, although I'm a little surprised for cloning there is that much of a difference.

In any case my advice is to clone the repository initially in TortoiseGit (or the command line), so that it doesn't take too long, and then continue to use EGit with that repository. Doing all the operations from that point, including pulling, should be quite quick because everything is local.

Does that help?

Charles

Hi Charles

Thank you for your comment.

For now, I have dealt in the following ways:.

1. Create a git clone locally on TortoiseGit.

2. The one in Eclipse Import> EGit> local path.

Question.

For example, if i want to clone the source file of 50MB with 10 times modification history, Is it going to take the information of 50MBx10 = 500MB?

Hi Masayuki,

It depends on what you mean "source file". If you're talking about 50MB of _text_, and modify a line then Git will cache and transfer that very effectively. If you're talking about 50MB of a binary file then Git will may have a harder time storing the delta.

If you run 'git gc' in your local repository and then look at the size of the '.git/objects' directory you'll get an idea of how big your repository is (and see how it changes when you add a new file).

Charles

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agility Beta

We've moved!

A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...

62 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you