My code is not portable, but the maintainers of original &#39;hub&#39; <a href="https://github.com/defunkt/hub/commit/4df79700ac4e4d9ad441e1e56566be12a7919bcf">already applied</a> my fixes in a portable manner.<div><br></div>

<div>So now it just works if you follow <a href="https://github.com/defunkt/hub#on-windows">Windows installation instructions on their site</a>.<br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 3:00 PM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com" target="_blank">max.andersen@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">nice work Yahor! does this make it only work on windows or is the code portable ? In either case opening a pullrequest against the original project so they could become aware there is a fork that works on windows would be great.<br>


<span class="HOEnZb"><font color="#888888"><br>
/max<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 28 Dec 2012, at 20:57, Yahor Radtsevich &lt;<a href="mailto:yradtsevich@exadel.com">yradtsevich@exadel.com</a>&gt; wrote:<br>
<br>
&gt; I have already fixed all problems what I found in Windows version. So nearly everyting is working now.<br>
&gt; Just created a fork on GitHub: <a href="https://github.com/yradtsevich/hub-windows" target="_blank">https://github.com/yradtsevich/hub-windows</a><br>
&gt;<br>
&gt; Standalone version can be downloaded here: <a href="http://yradtsevich.github.com/hub-windows/hub" target="_blank">http://yradtsevich.github.com/hub-windows/hub</a><br>
&gt;<br>
&gt; Now it does not require GITHUB_USER and GITHUB_PASSWORD to be set anymore.<br>
&gt; At least the following commands may be executed on Windows:<br>
&gt; hub fork<br>
&gt; hub clone<br>
&gt; hub pull-request<br>
&gt; hub checkout PULL_REQUEST_URL<br>
&gt; hub am PULL_REQUEST_URL<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Dec 21, 2012 at 7:43 PM, Max Rydahl Andersen &lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt; wrote:<br>
&gt; do you have a fork on github with your hub changes ?<br>
&gt;<br>
&gt; /max<br>
&gt;<br>
&gt; On 21 Dec 2012, at 15:41, Yahor Radtsevich &lt;<a href="mailto:yradtsevich@exadel.com">yradtsevich@exadel.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Unfortunately not everything works:<br>
&gt; &gt;       • &#39;hub clone&#39; and &#39;hub remote add&#39; work without any additional setup.<br>
&gt; &gt;       • &#39;hub fork&#39; and &#39;hub pull-request&#39; require replacing of &#39;exec(&#39; to &#39;system(&#39; calls in the script (there are 4 entries). And the following variables should be set:<br>
&gt; &gt;               • export GIT_EDITOR=&#39;/D/Progs/Notepad++/notepad++.exe -multiInst &#39;<br>
&gt; &gt;               • export GITHUB_USER=&#39;yradtsevich&#39;<br>
&gt; &gt;               • export GITHUB_PASSWORD=&#39;password&#39;<br>
&gt; &gt;       • I did not manage yet how to get &#39;hub am&#39; to work with pull request URLs<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Dec 20, 2012 at 4:43 PM, Max Rydahl Andersen &lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt; wrote:<br>
&gt; &gt; does the commands actually work ? i.e. hub pull-request and hub fork  ?<br>
&gt; &gt;<br>
&gt; &gt; /max<br>
&gt; &gt;<br>
&gt; &gt; On 14 Dec 2012, at 13:03, Yahor Radtsevich &lt;<a href="mailto:yradtsevich@exadel.com">yradtsevich@exadel.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi all,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; For those who have problems with installing hub on Windows. I did the following and it works:<br>
&gt; &gt; &gt;       • Install Git for Windows<br>
&gt; &gt; &gt;       • Install Ruby with RubyInstaller<br>
&gt; &gt; &gt;       • Add ruby\bin\ to your system PATH variable<br>
&gt; &gt; &gt;       • Download hub standalone (you must save it as &quot;hub&quot;, not &quot;standalone&quot;) into your git\bin\ folder<br>
&gt; &gt; &gt; Now you should be able to use &quot;hub&quot; from Git Bash shell like this:<br>
&gt; &gt; &gt; $ hub clone jbosstools/jbosstools-forge<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Best Regards,<br>
&gt; &gt; &gt; Yahor Radtsevich<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; jbosstools-dev mailing list<br>
&gt; &gt; &gt; <a href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Best Regards,<br>
&gt; &gt; Yahor Radtsevich<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards,<br>
&gt; Yahor Radtsevich<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Best Regards,</div><div>Yahor Radtsevich</div>
</div>