This commit is contained in:
carlospolop
2025-08-21 01:07:22 +02:00
parent 8db7266efb
commit 3b1f434a66

View File

@@ -125,11 +125,12 @@ def main():
print(f" ❌ Error fixing refs in {rel_with_src}: {e}")
# Check for files that exist in master refs but not in current branch
unexisted_files = 0
for master_file_rel in master_refs.keys():
if master_file_rel not in current_files:
rel_with_src = f"{SRC_DIR.name}/{master_file_rel}"
print(f"🗑️ {rel_with_src} (existed in master but not in current one)")
files_with_differences += 1
unexisted_files += 1
unmatched_files.append(rel_with_src)
# Save unmatched files to specified path if requested
@@ -152,10 +153,11 @@ def main():
except Exception as e:
print(f"❌ Error creating empty unmatched paths file {args.files_unmatched_paths}: {e}")
print(f"\n<EFBFBD>📈 SUMMARY:")
print(f"\n SUMMARY:")
print(f" Files processed: {files_processed}")
print(f" Files with differences: {files_with_differences}")
print(f" Files with different refs: {files_with_differences}")
print(f" Files modified: {files_modified}")
print(f" Non existing files: {unexisted_files}")
if unmatched_files:
print(f" Unmatched files: {len(unmatched_files)}")