brintos

brintos / llvm-project-archived public Read only

0
0
Text · 292 B · cf6215c Raw
8 lines · bash
1#!/bin/sh2 3# Remove the phabricator tags from the commit at HEAD4git log -1 --pretty=%B | \5  sed  's/^Summary://'  | \6  awk '/Reviewers:|Subscribers:/{p=1} /Reviewed By:|Differential Revision:/{p=0} !p && !/^Summary:$/ {sub(/^Summary: /,"");print}' | \7  git commit --amend --date=now -F -8