<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 "git add -A" command after applying the patch.<div><br></div><div><div><font face="courier new, monospace">usama@ubuntu:~/EDB/test/pgpool2$ patch -p1 -b < /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 "git add/rm <file>..." to update what will be committed)</font></div>
<div><font face="courier new, monospace"># (use "git checkout -- <file>..." 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:'courier new',monospace">#</span><span class="" style="font-family:'courier new',monospace;white-space:pre">        </span><span style="font-family:'courier new',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:'courier new',monospace">...</span><br></div></div><div style><span style="font-family:'courier new',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 "git reset HEAD <file>..." 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 -> 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 -> src/auth/pool_hba.c</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed: pool_passwd.c -> src/auth/pool_passwd.c</font></div><div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed: pool_config.c -> src/config/pool_config.c</font></div>
<div><font face="courier new, monospace">#<span class="" style="white-space:pre">        </span>renamed: pool_config.l -> 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"><<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>></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 < 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>
> Hi Tatsuo.<br>
><br>
> Please find the attached code reorganisation patch.<br>
><br>
> Thanks<br>
> Muammad Usama<br>
><br>
><br>
><br>
> On Wed, Aug 7, 2013 at 7:48 AM, Tatsuo Ishii <<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>> wrote:<br>
><br>
>> Usama,<br>
>><br>
>> Can you please provide me the patch against git master at this moment?<br>
>> I'm going to start to applying code reorganization patch.<br>
>> --<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>
>> > Hi<br>
>> ><br>
>> > I have re-based the code reorganised pgpool2 repository (<br>
>> > <a href="https://github.com/codeforall/pgpool2" target="_blank">https://github.com/codeforall/pgpool2</a>) with the current master.<br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > On Mon, Jul 22, 2013 at 12:00 PM, Tatsuo Ishii <<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>><br>
>> wrote:<br>
>> ><br>
>> >> > Thanks Tatsuo. When will you begin committing changes for 3.4?<br>
>> >><br>
>> >> 3.2 is supposed to be released by the end of July. So the commit<br>
>> >> surely happens after that. Also I need to be very careful about<br>
>> >> incorporating such a big change into the repository. Probably I will<br>
>> >> create a test repository then try to apply patches from Usama (Usama<br>
>> >> needs to create rebased patch for this. Current changes in his<br>
>> >> repository are already outdated). That says, committing the patch will<br>
>> >> be by the end of August, I guess.<br>
>> >> --<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>
>><br>
</div></div></blockquote></div><br></div></div></div>