From 645c7e8d174e9d4806d7640bbc4342117062d986 Mon Sep 17 00:00:00 2001 From: Prarit Bhargava Date: Wed, 24 Mar 2021 13:41:12 -0400 Subject: [PATCH] mr edit: Fix reviewers check The mr edit option --reviewers, incorrectly fails with "aborting: no changes" because the change to the reviewers is not verified. Add verification of the reviewers change to the "no changes" check. Signed-off-by: Prarit Bhargava --- cmd/mr_edit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mr_edit.go b/cmd/mr_edit.go index cda09371..e7048c3a 100644 --- a/cmd/mr_edit.go +++ b/cmd/mr_edit.go @@ -229,7 +229,7 @@ lab MR edit : # update a comment on MR`, abortUpdate := (title == mr.Title && body == mr.Description && !labelsChanged && !assigneesChanged && !updateMilestone && - !targetBranchChanged) + !targetBranchChanged && !reviewersChanged) if abortUpdate { log.Fatal("aborting: no changes") }