Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325882

Summary: Commit history lost after failed commit
Product: [Technology] EGit Reporter: dcantin
Component: CoreAssignee: Matthias Sohn <matthias.sohn>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, robin.rosenberg, sop, stefan.lay
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description dcantin CLA 2010-09-21 13:39:11 EDT
Build Identifier: 20100218-1602

I was committing some small changes to a file when I got this error (copy/pasted from the Eclipse Error Log view)


eclipse.buildId=
java.version=1.5.0_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -clean


Error
Tue Sep 21 12:57:49 EDT 2010
Failed to update HEAD to commit AnyObjectId[97a5fd97a6db673246e92075ead6c116baa176fd].


I have EGit 0.9.3 installed from this source : http://download.eclipse.org/egit/updates/

My project was almost new, around 15 commits. Note that my project name contain an accented letter "é", could be related?

The commit history is not available with TortoiseGit neither but if I manually open in a text editor the file .git/logs/HEAD, I can still see the complete commit history.

Now, all my files (classes, jars, etc) are seen as new files and EGit ask me to add them (again).

I'm haven't been able to reproduce it yet.

Reproducible: Couldn't Reproduce
Comment 1 Robin Rosenberg CLA 2013-03-30 20:51:25 EDT
Can't do anything with this info and it applies to a very old version