quantum-espresso/external/update_commit_has_records.sh

3 lines
205 B
Bash
Raw Normal View History

2021-05-18 14:16:57 +08:00
# Once submodules are updated, use this script to update submodule_commit_hash_records based on git repo database
git ls-tree HEAD . | grep "^160000" | awk '{print $3, $4}' > submodule_commit_hash_records