[][src]Function substrate_build_script_utils::rerun_if_git_head_changed

pub fn rerun_if_git_head_changed()

Make sure the calling build.rs script is rerun when .git/HEAD or the ref of .git/HEAD changed.

The file is searched from the CARGO_MANIFEST_DIR upwards. If the file can not be found, a warning is generated.