Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUnable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/820899/#msg_820899
I'm have a strange problem with EGit and i'm not sure if it's being caused by something I'm doing or the software itself.
I am able to stage some files and unable to stage others although the Git Staging window properly identifies files that have changed.
All files I'm working with are PHP files so that rules out any type of file extension issue.
I've tried digging through the forums but haven't found anybody else with a similar problem.
I typically drag/drop the files from unstaged to staged - is there a better way to stage the files?
Thanks for the help,
Chris
]]>Chris Card2012-03-14T18:07:55-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/820901/#msg_820901
What version of EGit are you using?]]>Kevin Sawicki2012-03-14T18:09:07-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/820904/#msg_820904
I should add that "Add to Git Index" from the context menu does not work on these files either.
I also get this message when trying to commit that particular file:
Quote:
An internal error occurred
Exception caught during execution of commit command
I'm not sure how to drill down into detail any further than that.]]>Chris Card2012-03-14T18:13:56-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/820930/#msg_820930
Kevin Sawicki2012-03-14T18:55:12-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/820938/#msg_820938
Caused by: java.io.EOFException: Input did not match supplied length. 496 bytes are missing.
at org.eclipse.jgit.storage.file.ObjectDirectoryInserter.shortInput(ObjectDirectoryInserter.java:237)
at org.eclipse.jgit.storage.file.ObjectDirectoryInserter.toTemp(ObjectDirectoryInserter.java:168)
at org.eclipse.jgit.storage.file.ObjectDirectoryInserter.insert(ObjectDirectoryInserter.java:105)
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:183)]]>Chris Card2012-03-14T19:09:43-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/821352/#msg_821352
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369780 which lists exactly your error message. And there was a fix done in https://git.eclipse.org/r/#/c/4998 which is already accepted. Chris, could you try out adding the files with a more recent build of EGit (e.g. http://download.eclipse.org/egit/updates-nightly/)?]]>Christian Halstrick2012-03-15T08:38:31-00:00Re: Unable to Stage some Files
https://www.eclipse.org/forums/index.php/mv/msg/309777/821486/#msg_821486
Chris Card2012-03-15T12:27:19-00:00