Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » GIT Clone and branch switching operations are very slow in EGIT(After normalization for a git repository, git clone and branch switch operations performance using EGIT is very slow )
GIT Clone and branch switching operations are very slow in EGIT [message #1858669] Fri, 14 April 2023 12:35 Go to next message
GAUTAM SHET is currently offline GAUTAM SHETFriend
Messages: 2
Registered: April 2023
Junior Member
The performance of git clone and branch switch operations using EGIT is very slow after normalisation for a git repository.
However, the performance is optimal when git clone and branch switch actions are performed via git bash or eclipse local terminal.
Re: GIT Clone and branch switching operations are very slow in EGIT [message #1858670 is a reply to message #1858669] Fri, 14 April 2023 13:15 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1272
Registered: July 2009
Senior Member
What do you mean by "after normalization" ?

There shouldn't be a huge difference in checkout performance between git and EGit.

Which EGit and Eclipse version are you using ?

What's the size of your repository ? You can run git-sizer [1] to get some size statistics for your repository.

[1] https://github.com/github/git-sizer
Re: GIT Clone and branch switching operations are very slow in EGIT [message #1858705 is a reply to message #1858670] Mon, 17 April 2023 10:22 Go to previous messageGo to next message
GAUTAM SHET is currently offline GAUTAM SHETFriend
Messages: 2
Registered: April 2023
Junior Member
We created a new .gitattributes file with the below content.
*.java text eol=crlf

*.arxml text eol=crlf
*.log text eol=crlf
*.xml text eol=crlf

after that we ran the below commands
$ git add . -u
$ git commit -m "Saving files before refreshing line endings"
$ git add --renormalize .
$ git status
$ git commit -m "Normalize all the line endings"
$ git push origin
later on we found that performance for git clone and branch switching was very slow on EGIT
Re: GIT Clone and branch switching operations are very slow in EGIT [message #1858821 is a reply to message #1858705] Mon, 24 April 2023 14:45 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1272
Registered: July 2009
Senior Member
https://git.eclipse.org/r/c/jgit/jgit/+/201449
Previous Topic:How to get GitHub Repo star count using jGit
Next Topic:Possible to use a SSH Public Key for Commit Signing?
Goto Forum:
  


Current Time: Tue Sep 24 07:47:39 GMT 2024

Powered by FUDForum. Page generated in 0.02548 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top