]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
src/scripts/config-diff.py: simplify sparse_branch_checkout_* functions and add files...
authorNaveen Naidu <naveennaidu479@gmail.com>
Sun, 8 Jun 2025 06:37:11 +0000 (12:07 +0530)
committerNaveen Naidu <naveennaidu479@gmail.com>
Mon, 9 Jun 2025 07:25:12 +0000 (12:55 +0530)
commitafb52299e36fffd222da912cb6f5ad805a1d8ccd
tree28573db716fe94f1d1a341739b2708464bd024a3
parentfc3dd9859f5e5e550dbdd2d8e1cbac138ff28106
src/scripts/config-diff.py: simplify sparse_branch_checkout_* functions and add files names to POSIX diff

Refactored `sparse_branch_checkout_skip_clone` and
`sparse_branch_checkout_remote_repo_skip_clone` to accept and use
branch/tag names directly instead of constructing `ref_sha` strings
throughout the code.

Also include filenames from where the configuration values are coming
from in the POSIX diff. This helps identify the config options faster in
case of descrepancies.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
src/script/config-diff/config_diff.py