Multiple co-authors should be placed back-to-back
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
a4312208d8
commit
ef379903b4
@ -3,9 +3,14 @@
|
|||||||
COMMIT_MESSAGE="$*"
|
COMMIT_MESSAGE="$*"
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
|
if [ "$FIRST_LINE" = true ]; then
|
||||||
COMMIT_MESSAGE+="
|
COMMIT_MESSAGE+="
|
||||||
|
|
||||||
Co-authored-by: $line"
|
Co-authored-by: $line"
|
||||||
|
else
|
||||||
|
COMMIT_MESSAGE+="
|
||||||
|
Co-authored-by: $line"
|
||||||
|
fi
|
||||||
done < utils/.coauthors
|
done < utils/.coauthors
|
||||||
git add -u
|
git add -u
|
||||||
git add *
|
git add *
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
build.sh:a833e7598ad65672a9c01306d244b49f -
|
build.sh:a833e7598ad65672a9c01306d244b49f -
|
||||||
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
|
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
|
||||||
commit.sh:21af1fa6f09d01679c9e11408967264a -
|
commit.sh:19132b54a91b821f3a794bcb49756182 -
|
||||||
jar.sh:62ce62bbb97d3f3856bcc9b0ad34083c -
|
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.
|
#Generate a new hash for every sub-directory, which may require an update.
|
||||||
FILES=$(cat utils/.updateDirectories)
|
FILES=$(cat utils/.updateDirectories)
|
||||||
COMMIT_MESSAGE="$*"
|
COMMIT_MESSAGE="$*"
|
||||||
|
FIRST_LINE=true
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
|
if [ "$FIRST_LINE" = true ]; then
|
||||||
COMMIT_MESSAGE+="
|
COMMIT_MESSAGE+="
|
||||||
|
|
||||||
Co-authored-by: $line"
|
Co-authored-by: $line"
|
||||||
|
else
|
||||||
|
COMMIT_MESSAGE+="
|
||||||
|
Co-authored-by: $line"
|
||||||
|
fi
|
||||||
done < utils/.coauthors
|
done < utils/.coauthors
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
do
|
do
|
||||||
|
@ -1 +1 @@
|
|||||||
commit.sh:e9204d719d138b430b20ce8942cb4c8b -
|
commit.sh:dfa474a66aff3d66fb287e9dde628243 -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user