[PATCH] D81515: [llvm] Release-mode ML InlineAdvisor

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 08:40:19 PDT 2020


Thanks - should we add that script in utils, perhaps - I remember we had a
git llvm push, may be worth (resurrecting a form of it and) leveraging that?

On Wed, Jun 24, 2020 at 8:36 AM Fangrui Song via Phabricator <
reviews at reviews.llvm.org> wrote:

> MaskRay added a comment.
>
> Hi, your git commit contains extra Phabricator tags. You can drop
> `Reviewers:` `Subscribers:` `Tags:` and the text `Summary:` from the git
> commit with the following script:
>
>   arcfilter () {
>           arc amend
>           git log -1 --pretty=%B | awk '/Reviewers:|Subscribers:/{p=1}
> /Reviewed By:|Differential Revision:/{p=0} !p && !/^Summary:$/
> {sub(/^Summary: /,"");print}' | git commit --amend --date=now -F -
>   }
>
> `Reviewed By: ` is considered important by some people. Please keep the
> tag. (I have updated my script to use `--date=now` (setting author date to
> committer date))
>
> `https://reviews.llvm.org/D80978` <https://reviews.llvm.org/D80978>
> contains a git pre-push hook to automate this.
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D81515/new/
>
> https://reviews.llvm.org/D81515
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200624/cc847a46/attachment.html>


More information about the llvm-commits mailing list