commit process hangs:() [message #696648] |
Thu, 14 July 2011 09:41  |
Eclipse User |
|
|
|
Hello all,
I have a problem to commit my staged file to my local repo.
First I "add" (Team->Add) my changed files, that works fine and fast
(like "git add" on my console).
After that I will commit them (Team->commit).
The commit-dialog was shown after a few seconds, but when I'm add the comment
and click "commit":
The dialog ends, but the process runs and runs (stays by 0%)...
The process never stopped, I'm unable to close eclipse too (only kill -9!).
From the console the "git commit" command need only one second!!!
There is a bug in bugzilla, which describe a slow performance when the commit-dialog was started (Bug 331273).
I think that is not my problem here, because this happens before the dialog
comes up.
Some google entries describe this behavior with SVN, but no solution found:()
Can anyone give me a hint to solve this situation?!
Or has someone the same problem?!
Nothing in the ErrorLog-View...
BTW, what must be the path for the git repo on linux?
The hole path included ".git"?
Bsp:
/home/ahe/src-git/dv
OR
/home/ahe/src-git/dv/.git
I will use the first, without ".git"...
Best regards
Andre
PS: Eclipse Indigo, latest update for all modules (CDT, EGIT, Mylyn, etc ...)
java 1.6 update 26
Opensuse 10.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: commit process hangs:() [message #902021 is a reply to message #901288] |
Wed, 15 August 2012 10:13  |
Eclipse User |
|
|
|
No hangups otherwise, but it still does hang whenever I try to commit. Jstack shows it's still busy in the same file system operations:
"Worker-133" prio=5 tid=11d79a000 nid=0x114901000 runnable [114900000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.isDirectory(File.java:754)
at org.eclipse.jgit.treewalk.FileTreeIterator$FileEntry.<init>(FileTreeIterator.java:161)
at org.eclipse.jgit.treewalk.FileTreeIterator.entries(FileTreeIterator.java:142)
at org.eclipse.jgit.treewalk.FileTreeIterator.<init>(FileTreeIterator.java:127)
at org.eclipse.jgit.treewalk.FileTreeIterator.createSubtreeIterator(FileTreeIterator.java:133)
at org.eclipse.jgit.treewalk.AbstractTreeIterator.createSubtreeIterator(AbstractTreeIterator.java:528)
at org.eclipse.jgit.treewalk.TreeWalk.enterSubtree(TreeWalk.java:908)
at org.eclipse.jgit.treewalk.TreeWalk.next(TreeWalk.java:566)
at org.eclipse.jgit.api.CommitCommand.createTemporaryIndex(CommitCommand.java:314)
at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:194)
at org.eclipse.egit.core.op.CommitOperation.commit(CommitOperation.java:249)
at org.eclipse.egit.core.op.CommitOperation.access$7(CommitOperation.java:227)
at org.eclipse.egit.core.op.CommitOperation$1.run(CommitOperation.java:192)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
at org.eclipse.egit.core.op.CommitOperation.execute(CommitOperation.java:202)
at org.eclipse.egit.ui.internal.commit.CommitUI$2.run(CommitUI.java:221)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
But still this is progress, I can commit from the command line and do other things with EGit.
|
|
|
Powered by
FUDForum. Page generated in 0.30102 seconds