Paul C. Anagnostopoulos via llvm-dev
2020-Sep-12 23:32 UTC
[llvm-dev] I've gone and broken the build
At 9/12/2020 06:00 PM, Mehdi AMINI wrote:>Hi Paul, > >If you setup the git hook as indicated here: <https://llvm.org/docs/GettingStarted.html#git-pre-push-hook>https://llvm.org/docs/GettingStarted.html#git-pre-push-hook ; it'll ask for confirmation before pushing multiple commits. > >Also the section right before gives the manual recipe before pushing: > > ># Check that the list of commits about to be pushed is correct. >% git log origin/master...HEAD --onelineYes, I know I should do the 'git log'. Now I just have to force myself into the right habits. I have an alias to make it easier. I'm on Windows. Is there a way to set up that hook?
On Sat, Sep 12, 2020 at 4:32 PM Paul C. Anagnostopoulos <paul at windfall.com> wrote:> At 9/12/2020 06:00 PM, Mehdi AMINI wrote: > >Hi Paul, > > > >If you setup the git hook as indicated here: < > https://llvm.org/docs/GettingStarted.html#git-pre-push-hook> > https://llvm.org/docs/GettingStarted.html#git-pre-push-hook ; it'll ask > for confirmation before pushing multiple commits. > > > >Also the section right before gives the manual recipe before pushing: > > > > > ># Check that the list of commits about to be pushed is correct. > >% git log origin/master...HEAD --oneline > > Yes, I know I should do the 'git log'. Now I just have to force myself > into the right habits. I have an alias to make it easier. > > I'm on Windows. Is there a way to set up that hook? >Ah sorry I'm not familiar enough with Windows, maybe someone else can chime in (and then we could update the doc as well). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200912/d5d17da0/attachment.html>
Paul C. Anagnostopoulos via llvm-dev
2020-Sep-13 12:10 UTC
[llvm-dev] I've gone and broken the build
At 9/12/2020 09:45 PM, Mehdi AMINI wrote:>I'm on Windows. Is there a way to set up that hook? > >Ah sorry I'm not familiar enough with Windows, maybe someone else can chime in (and then we could update the doc as well).I'm standing by waiting to learn what to do about the broken build . . .