Skip to content

Commit 38bc725

Browse files
committed
add comment
1 parent 37a85de commit 38bc725

File tree

1 file changed

+2
-0
lines changed
  • tools/src/main/python/opengrok_tools/utils

1 file changed

+2
-0
lines changed

tools/src/main/python/opengrok_tools/utils/mirror.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ def mirror_project(config, project_name, check_changes, check_outgoing, uri,
516516
if check_outgoing_config is not None:
517517
check_outgoing = check_outgoing_config
518518

519+
# Check outgoing changes first. If there are any, such changes will be stripped
520+
# and the subsequent incoming check will do the right thing.
519521
if check_outgoing:
520522
try:
521523
r = process_outgoing(repos, project_name)

0 commit comments

Comments
 (0)