[PATCH] dim: Only check our own commits
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Jan 11 16:42:08 UTC 2019
Originally we used the committer to filter for this, but --first-parent
is better.
Reviewed-and-tested-by: Sean Paul <sean at poorly.run>
Cc: Sean Paul <sean at poorly.run>
Cc: Maxime Ripard <maxime.ripard at bootlin.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
dim | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dim b/dim
index dafbf946e0b7..2be7ea61c0cd 100755
--- a/dim
+++ b/dim
@@ -867,7 +867,7 @@ function checkpatch_commit_push_range
# push.
function dim_push_branch
{
- local branch remote committer_email
+ local branch remote
branch=${1:?$usage}
shift
@@ -876,9 +876,7 @@ function dim_push_branch
remote=$(branch_to_remote $branch)
- committer_email=$(git_committer_email)
-
- checkpatch_commit_push_range 1 "$branch@{u}..$branch" --committer="$committer_email"
+ checkpatch_commit_push_range 1 "$branch@{u}..$branch" --first-parent
git push $DRY_RUN $remote $branch "$@"
--
2.20.1
More information about the dim-tools
mailing list