Last active
April 30, 2021 07:56
-
-
Save nderjung/373d5880571b0c0a37c1f0a8fac3cda5 to your computer and use it in GitHub Desktop.
first-commit-of-unikraft-libs.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for L in ./unikraft/libs/*; do | |
DATE=$(git -C L show \ | |
--date=format:'%Y-%m-%d %H:%M:%S' \ | |
--no-patch \ | |
--no-notes \ | |
--format="%cd" \ | |
$(git -C $L rev-list \ | |
--max-parents=0 HEAD \ | |
) \ | |
); | |
echo "$(basename ${L})\t${DATE}"; | |
done > ./unikraft/first-commits.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment