<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] git push invalid format</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Git itself doesn&#8217;t say this is an invalid commit (we use stash/git and its perfectly fine with this)... There is a git-lint process that github uses and it rejects this commit<BR>
<BR>
<BR>
On 3/9/15, 6:57 PM, &quot;Ben Langfeld&quot; &lt;<a href="ben@langfeld.co.uk">ben@langfeld.co.uk</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>I understand very well why rewriting history is undesirable and how git works. What I wonder is what process was used to convince git to create a commit which it would later say is invalid. As I said, I'm curious.<BR>
<BR>
On 9 March 2015 at 20:12, Steven Ayre &lt;<a href="steveayre@gmail.com">steveayre@gmail.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Plus it's rather annoying to do so (rewrite history). The identifier of each commit is a hash computed from the content of the commit plus the metadata which includes the authors. Changing the author would change the identifier of the commit. That then changes the identifier of every commit afterwards. That then breaks every checkout / fork based off the tree as they no longer know where they are forked from. And since identifiers have all been rewritten we would no longer know what version you were running, or what version bug reports were reported against.<BR>
<BR>
(that's why git makes it easy to amend your latest uncommitted commit message but rather difficult to edit any others)<BR>
<BR>
<BR>
<BR>
<BR>
On 9 March 2015 at 13:41, Michael Jerris &lt;<a href="mike@jerris.com">mike@jerris.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>We are not rewriting history to fix this so it doesn't really matter who is right or wrong.<BR>
<BR>
Mike<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>On Mar 9, 2015, at 9:13 AM, Ben Langfeld &lt;<a href="ben@langfeld.co.uk">ben@langfeld.co.uk</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'>I'm curious about this one... If git fsck complains about the issue, what is the justification for saying that Github is broken? How were these commits created with a format that git itself complains about?<BR>
<BR>
On 9 March 2015 at 09:01,  &lt;<a href="cmrienzo@gmail.com">cmrienzo@gmail.com</a>&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="1"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'>I switched to bitbucket.org &lt;<a href="http://bitbucket.org/">http://bitbucket.org/</a>&gt;  just for the FreeSWITCH repo to work around this. <BR>
<BR>
<BR>
On Mar 8, 2015, at 20:34, Ken Rice &lt;<a href="krice@freeswitch.org">krice@freeswitch.org</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This is a known issue with github and will not be fixed <BR>
<BR>
<BR>
<BR>
On 3/8/15, 3:39 PM, &quot;Podrigal, Aron&quot; &lt;<a href="aronp@guaranteedplus.com">aronp@guaranteedplus.com</a> &lt;<a href="http://aronp@guaranteedplus.com/">http://aronp@guaranteedplus.com/</a>&gt; &gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
I'm trying to push the freeswitch git repo to my github, but I get the following error<BR>
<BR>
<BR>
remote: error: object 487128950df6ee433c131b5feaafe81ee86629f4:invalid format - expected 'committer' line<BR>
remote: fatal: Error in object<BR>
channel_by_id: 0: bad id: channel free<BR>
Received window adjust for non-open channel 0.<BR>
error: pack-objects died of signal 13<BR>
<BR>
This is caused by having multiple authors on a commit (which in general is not allowed by git) and github verifies the commits and rejects it.<BR>
<BR>
here is the output of git fsck<BR>
<BR>
Checking object directories: 100% (256/256), done.<BR>
error in commit 487128950df6ee433c131b5feaafe81ee86629f4: invalid format - expected 'committer' line<BR>
error in commit 8574988c3a378b4d5861ecaeb0e958657635703b: invalid format - expected 'committer' line<BR>
Checking objects: 100% (254227/254227), done.<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services: <BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
Twitter: @FreeSWITCH<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>