Bug 372328 - Empty commit
Summary: Empty commit
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 08:24 EST by Christian Campo CLA
Modified: 2012-09-09 03:12 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Campo CLA 2012-02-23 08:24:20 EST
Heiko (one of the Riena committers) just committed something using Egit which to us looks very strange because it has no content whatsoever. (empty commit)

He cant really remember what the change in the file was or if he changed something. A possible explanation is that the file in the Git Repo had Unix LineFeeds and he was working on Windows. So maybe he changed a line of code and changed it back and still the system somehow believed that it was a code change.

However its strange that the commit does not point to any file (has no reference to any file ressource). The commit can be seen here http://git.eclipse.org/c/riena/org.eclipse.riena.git/commit/?id=08e35c1ce5e493b7dff6cc2683141624abe111a5

Maybe one of you has an explanation.
Comment 1 Robin Rosenberg CLA 2012-09-09 03:12:24 EDT
Amending a commit and removing all changes may have caused this. In https://git.eclipse.org/r/#/c/6005/ this will be prevented.