]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/ceph-backport: skip fetch if merge commit already exists locally 68422/head
authorKefu Chai <k.chai@proxmox.com>
Thu, 16 Apr 2026 10:13:28 +0000 (18:13 +0800)
committerKefu Chai <k.chai@proxmox.com>
Thu, 16 Apr 2026 11:15:50 +0000 (19:15 +0800)
commit193541e04c1dcaae6e681dfa17415317fa2fbba7
treeace733f2ccac980222b4476c82e85f21d2fd77ab
parente8ea7dbd304a12bac38c1ccb8053cb7e094b195f
script/ceph-backport: skip fetch if merge commit already exists locally

If the merge commit is already present in the local object store, there
is no need to fetch it from the upstream remote. Use git-cat-file to
check before fetching, avoiding unnecessary network traffic.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/script/ceph-backport.sh