From 44e9bee34fcc7e8dedc2a988750c9d7cc7f73eba Mon Sep 17 00:00:00 2001 From: Joanna Wang Date: Wed, 25 Jan 2023 21:51:42 +0000 Subject: [PATCH] Allow --force to be used in cl patch with --reapply Bug: b/265929888 Change-Id: I7ed00d70d18463b3394915ae4c74f853d05cb88d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4191996 Commit-Queue: Joanna Wang Reviewed-by: Josip Sokcevic --- git_cl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git_cl.py b/git_cl.py index 064b30b619..7341b736cf 100755 --- a/git_cl.py +++ b/git_cl.py @@ -5127,8 +5127,8 @@ def CMDpatch(parser, args): RunGit(['pull']) target_issue_arg = ParseIssueNumberArgument(cl.GetIssue()) - return cl.CMDPatchWithParsedIssue(target_issue_arg, options.nocommit, False, - False) + return cl.CMDPatchWithParsedIssue(target_issue_arg, options.nocommit, + options.force, False) if len(args) != 1 or not args[0]: parser.error('Must specify issue number or URL.')