<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+2009-01-22
+
+- Added support for repository search.
+- Now making use of the new, better, GitHub search types.
+
 2008-11-03
 
 - Added support for new code-search: http://github.com/codesearch
\ No newline at end of file</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -15,23 +15,19 @@ I built it to satisfy my need to search GitHub Quickly.
 
 == Usage
 
-When you click on the bookmarklet, it'll give you a text prompt. Type in the name of the project you want to search for, and hit return. You'll be taken to the GitHub search page for your query.
+When you click on the bookmarklet, it'll give you a text prompt. Type in your search term, and hit return. You'll be taken to the GitHub search page for your query.
 
 Hitting ESC or Cancel leaves your browser in it's previous state.
 
-=== User Search
+=== Search Types.
 
-Want to search for a user? Type in 'u:' followed by your query. So for instance to look at Kamal's github account, I would type in:
+You can narrow your search down to users, repositories or code, with the following macros:
 
  u:kamal
-
-Hitting Return or OK now takes you straight to the user's Github profile, or shows you a 404 if there is no such user.
+ r:cache_money
+ c:foo
  
-=== Code Search
-
-As for user-search, but use the c: prefix. You can also use any of the GitHub macros as defined on the code-search page: http://github.com/codesearch
-
- c: badger language:ruby
+Each of those will result in an appropriate search type.
  
 == Acknowledgements
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -8,12 +8,16 @@ var query = prompt(&quot;Search GitHub.com&quot;);
 
 var user_search_ary = /^u:(.*)/g.exec(query);
 var code_search_ary = /^c:(.*)/g.exec(query);
+var repo_search_ary = /^r:(.*)/g.exec(query);
 
 if (user_search_ary) {
-  window.location = &quot;http://github.com/&quot; + user_search_ary[1];
+  window.location = &quot;http://github.com/search?type=Users&amp;q=&quot; + user_search_ary[1];
 }
 else if (code_search_ary) {
-  window.location = &quot;http://github.com/codesearch?q=&quot; + code_search_ary[1] + &quot;&amp;repo=&amp;langOverride=&amp;language=&amp;x=0&amp;y=0&quot;;
+  window.location = &quot;http://github.com/search?type=Code&amp;q=&quot; + code_search_ary[1];
+}
+else if (repo_search_ary) {
+  window.location = &quot;http://github.com/search?type=Repositories&amp;q=&quot; + repo_search_ary[1];
 }
 else if (query) {
   window.location = &quot;http://github.com/search?q=&quot; + query;</diff>
      <filename>github_bookmarklet.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bba30763b0f0b7ea6bc8fbc60711446ee7078010</id>
    </parent>
  </parents>
  <author>
    <name>Douglas F Shearer</name>
    <email>dougal.s@gmail.com</email>
  </author>
  <url>http://github.com/dougal/github-bookmarklet/commit/26d909b826e68ac0e51bda840c5967f308763207</url>
  <id>26d909b826e68ac0e51bda840c5967f308763207</id>
  <committed-date>2009-01-22T15:30:43-08:00</committed-date>
  <authored-date>2009-01-22T15:30:43-08:00</authored-date>
  <message>Added support for repository search.
Now making use of the new, better, GitHub search types.</message>
  <tree>d93064f0fba483935fc9b2da23bade4fe5e3b31e</tree>
  <committer>
    <name>Douglas F Shearer</name>
    <email>dougal.s@gmail.com</email>
  </committer>
</commit>
