Multiple co-authors should be placed back-to-back

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent a4312208d8
commit ef379903b4
  1. 5
      Java/scripts/commit.sh
  2. 2
      Java/scripts/md5
  3. 6
      scripts/commit.sh
  4. 2
      scripts/md5

@ -3,9 +3,14 @@
COMMIT_MESSAGE="$*"
while IFS= read -r line
do
if [ "$FIRST_LINE" = true ]; then
COMMIT_MESSAGE+="
Co-authored-by: $line"
else
COMMIT_MESSAGE+="
Co-authored-by: $line"
fi
done < utils/.coauthors
git add -u
git add *

@ -1,4 +1,4 @@
build.sh:a833e7598ad65672a9c01306d244b49f -
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
commit.sh:21af1fa6f09d01679c9e11408967264a -
commit.sh:19132b54a91b821f3a794bcb49756182 -
jar.sh:62ce62bbb97d3f3856bcc9b0ad34083c -

@ -8,11 +8,17 @@ find . -type f -name md5 -delete
#Generate a new hash for every sub-directory, which may require an update.
FILES=$(cat utils/.updateDirectories)
COMMIT_MESSAGE="$*"
FIRST_LINE=true
while IFS= read -r line
do
if [ "$FIRST_LINE" = true ]; then
COMMIT_MESSAGE+="
Co-authored-by: $line"
else
COMMIT_MESSAGE+="
Co-authored-by: $line"
fi
done < utils/.coauthors
for f in $FILES
do

@ -1 +1 @@
commit.sh:e9204d719d138b430b20ce8942cb4c8b -
commit.sh:dfa474a66aff3d66fb287e9dde628243 -

Loading…
Cancel
Save