github.com/noironetworks/cilium-net@v1.6.12/contrib/policy-watcher/post-merge (about)

     1  #!/bin/bash
     2  
     3  changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
     4  
     5  if [ ! -z "${changed_files}" ]; then
     6  	cilium-net-policy import -p .
     7  fi