Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325882 - Commit history lost after failed commit
Summary: Commit history lost after failed commit
Status: RESOLVED INVALID
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 13:39 EDT by dcantin CLA
Modified: 2013-03-30 20:51 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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