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

Bug 409776

Summary: Indicates "Nothing to commit.1 commit(s) to push" on new repo without remote
Product: [ECD] Orion Reporter: Nitin Dahyabhai <thatnitind>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Nitin Dahyabhai CLA 2013-06-03 14:49:30 EDT
If I "Init Repository" from the Git Repositories page in 3.0M2, I'm told that it has "Nothing to commit.1 commit(s) to push" despite having just been created without any remotes to push *to*.
Comment 1 John Arthorne CLA 2013-06-03 16:23:41 EDT
I don't remember all the details but JGit doesn't handle a git repository with zero commits very well, so we create an initial commit as part of the repository creation process. So the fact there is a commit is normal, but I suspect if you have no remotes we can omit the "x commits to push" part.
Comment 2 John Arthorne CLA 2015-05-05 14:47:45 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html