Skip to content

Instantly share code, notes, and snippets.

@nderjung
Last active April 30, 2021 07:56
Show Gist options
  • Save nderjung/373d5880571b0c0a37c1f0a8fac3cda5 to your computer and use it in GitHub Desktop.
Save nderjung/373d5880571b0c0a37c1f0a8fac3cda5 to your computer and use it in GitHub Desktop.
first-commit-of-unikraft-libs.sh
#!/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