<div dir="ltr">Good to know. So does your workflow look like this?<div><br></div><div>1. Send out a patch:</div><div>$ git checkout master</div><div>$ git fetch && git svn rebase -l # sync</div><div>$ git checkout -b feature-branch</div>
<div>$ vi foo.c # hack hack hack</div><div>$ git commit -a</div><div>$ arc diff # send a code review</div><div><br></div><div>2. Iterate on review:</div><div>$ vi foo.c # respond to review comments</div><div>$ git commit -a</div>
<div>$ arc diff # update code review</div><div><br></div><div>3. Submit:</div><div>$ git rebase -i git_commit_id_pulled_from_git_log # squash commits</div><div>$ git svn dcommit</div><div>$ git checkout master</div><div>
$ git fetch && git svn rebase -l # sync, confirm changes</div>
<div>$ git branch -d feature-branch # nuke now unused branch</div><div># Manually close review in <a href="http://llvm.reviews.org">llvm.reviews.org</a> UI</div><div><br></div><div>?</div></div><div class="gmail_extra"><br clear="all">
<div><span style="color:rgb(153,153,153)">-Alex</span><br></div>
<br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 10:17 AM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Wed, Apr 30, 2014 at 6:03 PM, Alex McCarthy <span dir="ltr"><<a href="mailto:alexmc@google.com" target="_blank">alexmc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, I'll do that next time. Should I use that instead of git svn dcommit to push the change?</div>
</blockquote><div><br></div></div><div>I usually just commit with git svn dcommit (I find the commit message from arc commit a bit too wordy for my taste).</div><div class=""><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><span style="color:rgb(153,153,153)">-Alex</span><br></div></font></span><div><div>
<br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 7:58 AM, Alexander Kornienko <span dir="ltr"><<a href="mailto:alexfh@google.com" target="_blank">alexfh@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>On Wed, Apr 30, 2014 at 4:26 PM, Alex McCarthy <span dir="ltr"><<a href="mailto:alexmc@google.com" target="_blank">alexmc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>================<br>
Comment at: test/clang-tidy/temporaries.cpp:3<br>
@@ +2,3 @@<br>
+// FileCheck complains if the input file is empty, so add a dummy line.<br>
+// RUN: echo foo >> %t.log<br>
+// RUN: FileCheck %s < %t.log<br>
----------------<br>
</div><div>Alexander Kornienko wrote:<br>
> You don't need this now as the correct output is guaranteed to be non-empty. And you can now just pipe clang-tidy output to FileCheck<br>
</div>Good catch: fixed in <a href="http://llvm-reviews.chandlerc.com/rL207653" target="_blank">llvm-reviews.chandlerc.com/rL207653</a><br>
<br>
<a href="http://reviews.llvm.org/D3556" target="_blank">http://reviews.llvm.org/D3556</a><br>
<br></blockquote><div><br></div></div></div><div>BTW, if you use Phabricator's arc tool, you can also use "arc commit", which automatically closes the Differential revision in Phab.</div></div>
</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div></div><br></div></div>
</blockquote></div><br></div>