add subgit commit message ufora export

This commit is contained in:
Felix Van der Jeugt 2022-01-04 00:34:29 +01:00
parent bd70900035
commit ff4b21e32c
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 9 additions and 0 deletions

9
local/bin/subgit-export Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
printf 'OrgDefinedId,%s Text Grade,End-of-Line Indicator\n' "${1:-Commit}"
for d in 0*; do
cd "$d"
printf "#%s,%s,#\n" "$d" "$(git log --oneline | head -1 | tr -d ',')"
cd ..
done