<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git-Find on bartman&#39;s blog</title>
    <link>http://www.jukie.net/~bart/tags/git-find/</link>
    <description>Recent content in Git-Find on bartman&#39;s blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 28 Jul 2006 10:55:00 -0400</lastBuildDate>
    <atom:link href="http://www.jukie.net/~bart/tags/git-find/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>git-find findings</title>
      <link>http://www.jukie.net/~bart/blog/git-find-findings/</link>
      <pubDate>Fri, 28 Jul 2006 10:55:00 -0400</pubDate>
      <guid>http://www.jukie.net/~bart/blog/git-find-findings/</guid>
      <description>&lt;p&gt;So I have a simple &lt;a href=&#34;http://gitweb.jukie.net/git-find.git&#34;&gt;git-find&lt;/a&gt; working, and now I want to use&#xA;it to rip out some patches I am interested in.  The repository I am working on has a lot of uninteresting deltas&#xA;in it that I don&amp;rsquo;t care about.  I am actually only interesting in backporting an interface change in one file&#xA;from the &lt;code&gt;klipsng&lt;/code&gt; branch:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    $ git-find klipsng --file linux/net/ipsec/ipsec_sa.c&#xA;    ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This works as advertised, I get a list of revisions that altered that file.  The current git command line parsing&#xA;does not allow me to do much with this however.&lt;/p&gt;</description>
    </item>
    <item>
      <title>starting on git-find</title>
      <link>http://www.jukie.net/~bart/blog/starting-git-find/</link>
      <pubDate>Thu, 27 Jul 2006 16:29:41 -0400</pubDate>
      <guid>http://www.jukie.net/~bart/blog/starting-git-find/</guid>
      <description>&lt;p&gt;So I am giving myself some time to write a &lt;code&gt;git-find&lt;/code&gt; script that I can use to feed&#xA;commits to another tool, like &lt;code&gt;git-graft&lt;/code&gt; (or &lt;code&gt;git-cherry-pick&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t really know what I am doing yet, so I want to survey what is available in&#xA;&lt;code&gt;git-*&lt;/code&gt; tools and reuse as much of the available features.&lt;/p&gt;</description>
    </item>
    <item>
      <title>git-graft and git-find brainstorm</title>
      <link>http://www.jukie.net/~bart/blog/git-graft-brainstorm/</link>
      <pubDate>Thu, 27 Jul 2006 11:36:32 -0400</pubDate>
      <guid>http://www.jukie.net/~bart/blog/git-graft-brainstorm/</guid>
      <description>&lt;p&gt;I want to be able to take a bunch of patches that were applied to one &lt;em&gt;semi-related&lt;/em&gt;&#xA;branch and appened them to the current branch, or better yet a new branch of the&#xA;current.  The &lt;em&gt;bunch of patches&lt;/em&gt; will be selected by what they change; I should&#xA;be able to graft all patches that modify some file, or modify some regular expression.&lt;/p&gt;&#xA;&lt;p&gt;Here is what I mean:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; ,-----X---X---X---X--- ... ---             &amp;quot;historical&amp;quot; branch&#xA;o&#xA; `--------------------Y                     &amp;quot;current&amp;quot; branch&#xA;                       \&#xA;                        `---Z---Z---...     &amp;quot;working&amp;quot; branch&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You start off at &lt;code&gt;current&lt;/code&gt; branch and run something like:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;git-find historical --file some_file.c --or --re &#39;some pattern&#39; \&#xA;| git-graft --new-branch working -&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This will let me take the interesting subset of &lt;code&gt;X&lt;/code&gt; commits and apply them at some&#xA;point &lt;code&gt;Y&lt;/code&gt;.  Should the patches &lt;code&gt;X&lt;/code&gt; cause conflicts with the &lt;code&gt;current&lt;/code&gt; branch, then&#xA;&lt;code&gt;git-graft&lt;/code&gt; needs to let the user resolve those conflicts a patch at a time.  The&#xA;default is to apply onto the &lt;code&gt;current&lt;/code&gt; branch, however if desired it should be&#xA;possible to create the changes on a new, &lt;code&gt;working&lt;/code&gt;, branch.  The result is a new&#xA;set of &lt;code&gt;Z&lt;/code&gt; commits, as shown above.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
