<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -20,7 +20,7 @@ To use it on your website you'll have to put this somewhere. This means the .js
 file as well as the .css and the lib/ and img/ directories. To adjust the
 width of the whole thing look inside the style.css and set it for the 
 container-class. I know that the way to define user/repos is still somewhat
-cumbersome.
+cumbersome. The &quot;branch&quot; entry is optional, default is &quot;master&quot;.
 
 	&lt;div id=&quot;github-commit-badge-container&quot;&gt;
 		&lt;script type=&quot;text/javascript&quot;&gt;
@@ -28,7 +28,6 @@ cumbersome.
 			Badges[0] = new Object;
 			Badges[0][&quot;username&quot;] = &quot;heipei&quot;;
 			Badges[0][&quot;repo&quot;] = &quot;github-test&quot;;
-			Badges[0][&quot;branch&quot;] = &quot;master&quot;;
 			
 			Badges[1] = new Object;
 			Badges[1][&quot;username&quot;] = &quot;heipei&quot;;</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 - Smiley beside the repo-name [DONE]
 - Brick beside commit-message [DONE]
+- Strip unnecessary functions from prototype (the biggest lib) [DONE] (prototype removed)
+- make BRANCH=master default and branch argument optional [DONE]
 - &quot;Show files&quot; link which expands the box and shows which files were added/removed/changed
-- Strip unnecessary functions from prototype (the biggest lib)</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ function mainpage () {
 jQuery.each(Badges, function(i, badgeData) {
 
 jQuery.getJSON(&quot;http://github.com/api/v1/json/&quot; + badgeData[&quot;username&quot;] + &quot;/&quot; + badgeData[&quot;repo&quot;] 
-	+ &quot;/commit/&quot; + badgeData[&quot;branch&quot;] + &quot;?callback=?&quot;, function(data) {
+	+ &quot;/commit/&quot; + ((typeof badgeData[&quot;branch&quot;] == 'undefined') ? &quot;master&quot; : badgeData[&quot;branch&quot;]) + &quot;?callback=?&quot;, function(data) {
 		
 		var myUser = badgeData[&quot;username&quot;];
 		var myRepo = badgeData[&quot;repo&quot;];
@@ -37,7 +37,8 @@ jQuery.getJSON(&quot;http://github.com/api/v1/json/&quot; + badgeData[&quot;username&quot;] + &quot;/&quot; +
 		// myDiffLine is the &quot;foo committed xy on date&quot; line 
 		var myDiffLine = document.createElement(&quot;div&quot;);
 		myDiffLine.setAttribute(&quot;class&quot;, &quot;github-commit-badge-diffline&quot;);
-		
+	
+		// the image-class uses float:left to sit left of the commit-message
 		var myImage = document.createElement(&quot;img&quot;);
 		myImage.setAttribute(&quot;src&quot;,&quot;http://www.gravatar.com/avatar/&quot; + hex_md5(myEval.commit.committer.email) + &quot;?s=60&quot;);
 		myImage.setAttribute(&quot;class&quot;,&quot;github-commit-badge-gravatar&quot;);</diff>
      <filename>github-commit-badge.js</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,6 @@
 			Badges[2] = new Object;
 			Badges[2][&quot;username&quot;] = &quot;schacon&quot;;
 			Badges[2][&quot;repo&quot;] = &quot;grit&quot;;
-			Badges[2][&quot;branch&quot;] = &quot;master&quot;;
 		&lt;/script&gt;
 		&lt;script type=&quot;text/javascript&quot; src=&quot;github-commit-badge.js&quot;&gt;&lt;/script&gt;	
 		</diff>
      <filename>index.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b81b695ba3674c835e5f9924a95ee63399b42d7f</id>
    </parent>
  </parents>
  <author>
    <name>Johannes Gilger</name>
    <email>heipei@hackvalue.de</email>
  </author>
  <url>http://github.com/heipei/github-commit-badge/commit/a2c656810da72ac3efd09c526df1357d65a33084</url>
  <id>a2c656810da72ac3efd09c526df1357d65a33084</id>
  <committed-date>2008-08-18T10:50:47-07:00</committed-date>
  <authored-date>2008-08-18T10:50:47-07:00</authored-date>
  <message>Branch master is now default, branch argument optional</message>
  <tree>c632cdf6871b0dc6cc0ee263dd90b39f37274c50</tree>
  <committer>
    <name>Johannes Gilger</name>
    <email>heipei@hackvalue.de</email>
  </committer>
</commit>
