<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>images/search.png</filename>
    </added>
    <added>
      <filename>views/search.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,11 +5,12 @@
 
 = CHACON IDEAS
   * inter-branch links
-  * remotes (add / fetch)
   * tagging
+  * file attachments
   * merge conflict resolution
   * cherry-picked branches (read-tree/write-tree)
   * git-less version (read-only)
+  * track which branched from which
   * push?
   * users (email/name/ip - use for commits)
   </diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -37,6 +37,7 @@ get('/') { redirect '/' + HOMEPAGE }
 get('/_style.css') { header 'Content-Type' =&gt; 'text/css'; File.read(File.join(File.dirname(__FILE__), 'css', 'style.css')) }
 get('/_code.css') { header 'Content-Type' =&gt; 'text/css'; File.read(File.join(File.dirname(__FILE__), 'css', &quot;#{UV_THEME}.css&quot;)) }
 get('/_app.js') { header 'Content-Type' =&gt; 'application/x-javascript'; File.read(File.join(File.dirname(__FILE__), 'javascripts', &quot;application.js&quot;)) }
+get('/_search.png') { header 'Content-Type' =&gt; 'image/png'; File.read(File.join(File.dirname(__FILE__), 'images', &quot;search.png&quot;)) }
 
 get '/_list' do
   @pages = $repo.log.first.gtree.children.map { |name, blob| Page.new(name) } rescue []
@@ -154,4 +155,10 @@ post '/a/new_remote' do
   $repo.add_remote(params[:branch_name], params[:branch_url])
   $repo.fetch(params[:branch_name])
   redirect '/a/branches'
+end
+
+get '/a/search' do
+  @search = params[:search]
+  @grep = $repo.grep(@search)
+  show :search, 'Search Results'
 end
\ No newline at end of file</diff>
      <filename>git-wiki.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 &lt;% @history.each do |commit| %&gt;
   &lt;tr&gt;
     &lt;td&gt;&lt;code&gt;&lt;%= commit.sha[0, 8] %&gt;&lt;/code&gt;&lt;/td&gt;
-    &lt;td&gt;&lt;%= commit.date %&gt;&lt;/td&gt;
+    &lt;td&gt;&lt;small&gt;&lt;%= commit.date %&gt;&lt;/small&gt;&lt;/td&gt;
     &lt;td&gt;&lt;%= commit.message %&gt;&lt;/td&gt;
     &lt;td&gt;&lt;%= commit.name %&gt;&lt;/td&gt;
     &lt;% if commit != @history.first %&gt;</diff>
      <filename>views/branch_history.erb</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@
   &lt;/head&gt;
   &lt;body&gt;
     &lt;div id=&quot;container&quot;&gt;
+      &lt;form method=&quot;get&quot; action=&quot;/a/search&quot;&gt;
       &lt;ul class=&quot;nav_list&quot; id=&quot;top_nav&quot;&gt;
         &lt;li&gt;&lt;strong&gt;&lt;%= $repo.current_branch %&gt;&lt;/strong&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;/&quot; class=&quot;nav_link&quot;&gt;home&lt;/a&gt;&lt;/li&gt;
@@ -15,7 +16,9 @@
         &lt;li&gt;&lt;a href=&quot;/a/history&quot; class=&quot;nav_link&quot;&gt;history&lt;/a&gt;&lt;/li&gt;        
         &lt;li&gt;&lt;a href=&quot;/_list&quot; class=&quot;nav_link&quot;&gt;pages&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;/a/tarball&quot; class=&quot;nav_link&quot;&gt;tarball&lt;/a&gt;&lt;/li&gt;
+        &lt;li&gt;&lt;input name=&quot;search&quot; size=&quot;15&quot;&gt; &lt;input type=&quot;image&quot; src=&quot;/_search.png&quot;&gt;&lt;/li&gt;
       &lt;/ul&gt;
+      &lt;/form&gt;
       &lt;%= yield %&gt;
       &lt;div id=&quot;footer&quot;&gt;
         powered by &lt;a href=&quot;http://github.com/sr/git-wiki/network&quot;&gt;git-wiki&lt;/a&gt;</diff>
      <filename>views/layout.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e7718c564e758a37489123ba3a097261e73b0369</id>
    </parent>
  </parents>
  <author>
    <name>Scott Chacon</name>
    <email>schacon@gmail.com</email>
  </author>
  <url>http://github.com/edavis10/git-wiki/commit/3fe21594034d22381cc5dbbfef0181b3949e2893</url>
  <id>3fe21594034d22381cc5dbbfef0181b3949e2893</id>
  <committed-date>2008-03-08T12:27:38-08:00</committed-date>
  <authored-date>2008-03-08T12:27:38-08:00</authored-date>
  <message>added search through git-grep</message>
  <tree>ab87643e09b020797f15477bc5d84965511b5697</tree>
  <committer>
    <name>Scott Chacon</name>
    <email>schacon@gmail.com</email>
  </committer>
</commit>
