<div dir="ltr">The patch does add all the files, But the files needed to be added back to git repository.<div>You can issue &quot;git add -A&quot; command after applying the patch.<div><br></div><div><div><font face="courier new, monospace">usama@ubuntu:~/EDB/test/pgpool2$ patch -p1 -b &lt; /mnt/hgfs/usama/EDB/pgpool/NewTree/test/code_rearrange.patch</font></div>
<div><font face="courier new, monospace">patching file INSTALL</font></div><div><font face="courier new, monospace">patching file Makefile.am</font></div><div><font face="courier new, monospace">patching file Makefile.in</font></div>
<div><font face="courier new, monospace">patching file aclocal.m4</font></div><div><font face="courier new, monospace">patching file child.c</font></div><div><font face="courier new, monospace">patching file compile</font></div>
<div><font face="courier new, monospace">patching file config.guess</font></div><div><font face="courier new, monospace">patching file <a href="http://config.h.in">config.h.in</a></font></div><div><font face="courier new, monospace">patching file config.sub</font></div>
</div><div><font face="courier new, monospace">...</font></div><div><div><font face="courier new, monospace">usama@ubuntu:~/EDB/test/pgpool2$ git status</font></div><div><font face="courier new, monospace"># On branch master</font></div>
<div><font face="courier new, monospace"># Changes not staged for commit:</font></div><div><font face="courier new, monospace">#   (use &quot;git add/rm &lt;file&gt;...&quot; to update what will be committed)</font></div>
<div><font face="courier new, monospace">#   (use &quot;git checkout -- &lt;file&gt;...&quot; to discard changes in working directory)</font></div><div><font face="courier new, monospace">#</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   INSTALL</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   Makefile.am</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   Makefile.in</font></div>
<div><span style="font-family:&#39;courier new&#39;,monospace">#</span><span class="" style="font-family:&#39;courier new&#39;,monospace;white-space:pre">        </span><span style="font-family:&#39;courier new&#39;,monospace">deleted:    parser/Makefile.in</span><br>
</div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>deleted:    parser/copyfuncs.c</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>deleted:    parser/gram.c</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>deleted:    parser/gram.h</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>deleted:    parser/gram.y</font></div>
<div><span style="font-family:&#39;courier new&#39;,monospace">...</span><br></div></div><div style><span style="font-family:&#39;courier new&#39;,monospace">usama@ubuntu:~/EDB/test/pgpool2$ git add -A</span><br></div><div style>
<div><font face="courier new, monospace">usama@ubuntu:~/EDB/test/pgpool2$ git status</font></div><div><font face="courier new, monospace"># On branch master</font></div><div><font face="courier new, monospace"># Changes to be committed:</font></div>
<div><font face="courier new, monospace">#   (use &quot;git reset HEAD &lt;file&gt;...&quot; to unstage)</font></div><div><font face="courier new, monospace">#</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   INSTALL</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   Makefile.am</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>modified:   Makefile.in</font></div>
<div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed:    pool_auth.c -&gt; src/auth/pool_auth.c<br></font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed:    pool_hba.c -&gt; src/auth/pool_hba.c</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed:    pool_passwd.c -&gt; src/auth/pool_passwd.c</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed:    pool_config.c -&gt; src/config/pool_config.c</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed:    pool_config.l -&gt; src/config/pool_config.l</font></div></div><div><font face="courier new, monospace">...</font></div>
<div><br></div><div style>Thanks</div><div style>Muhammad Usama</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 8, 2013 at 6:27 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks but that seems to just remove most of files but never create<br>
new directories or reorganized source codes.<br>
<br>
I did:<br>
patch -b -p1 &lt; code_rearrange.patch<br>
<div class="HOEnZb"><div class="h5">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
&gt; Hi Tatsuo.<br>
&gt;<br>
&gt; Please find the attached code reorganisation patch.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Muammad Usama<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 7, 2013 at 7:48 AM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Usama,<br>
&gt;&gt;<br>
&gt;&gt; Can you please provide me the patch against git master at this moment?<br>
&gt;&gt; I&#39;m going to start to applying code reorganization patch.<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
&gt;&gt; &gt; Hi<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have re-based the code reorganised pgpool2 repository (<br>
&gt;&gt; &gt; <a href="https://github.com/codeforall/pgpool2" target="_blank">https://github.com/codeforall/pgpool2</a>) with the current master.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Jul 22, 2013 at 12:00 PM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Thanks Tatsuo. When will you begin committing changes for 3.4?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 3.2 is supposed to be released by the end of July. So the commit<br>
&gt;&gt; &gt;&gt; surely happens after that. Also I need to be very careful about<br>
&gt;&gt; &gt;&gt; incorporating such a big change into the repository. Probably I will<br>
&gt;&gt; &gt;&gt; create a test repository then try to apply patches from Usama (Usama<br>
&gt;&gt; &gt;&gt; needs to create rebased patch for this. Current changes in his<br>
&gt;&gt; &gt;&gt; repository are already outdated). That says, committing the patch will<br>
&gt;&gt; &gt;&gt; be by the end of August, I guess.<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Tatsuo Ishii<br>
&gt;&gt; &gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; &gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; &gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div></div></div>