Clarify that gclient gitmodules' changes need to be committed.

Bug: 1483198
Change-Id: I1dfae06bfc273b01d168b507861984327ad0d629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4892468
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Joanna Wang <jojwang@chromium.org>
This commit is contained in:
Joanna Wang
2023-10-06 19:12:51 +00:00
committed by LUCI CQ
parent 0471c76c58
commit 6aed4f5a0c
2 changed files with 4 additions and 2 deletions

View File

@@ -1963,6 +1963,8 @@ def CheckForCommitObjects(input_api, output_api):
'To reset all git submodule git entries to match DEPS, run\n'
'the following command in the root of this repository:\n'
' gclient gitmodules'
'This will update AND stage the entries to the correct revisions.\n'
'Then commit these staged changes only (`git commit` without -a).\n'
'\n\n'
'The following entries diverged: ' + deps_msg)
]