Make co-authors be included in commits and have a co-authors file

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

@ -1,6 +1,13 @@
#Adds a commit message and pushes project to github repository.
#Java
AUTHORS=$(cat utils/.coauthors)
COMMIT_MESSAGE="$*"
for a in $AUTHORS
do
COMMIT_MESSAGE+="
Co-authored-by: $a"
done
git add -u
git add *
git commit -m "$*"
git commit -m "$COMMIT_MESSAGE"
git push

@ -1,4 +1,4 @@
a833e7598ad65672a9c01306d244b49f -
96ce35f2d2dcb555421e00a6afda23ca -
fe50a24283991ac63984a3afcac1ac41 -
b568ecdedf40d35455e1b7998a6f720c -
2ac636f584c43a1124affb9ea6bdc7bf -

@ -7,11 +7,18 @@ find . -type f -name md5 -delete
#Generate a new hash for every sub-directory, which may require an update.
FILES=$(cat utils/.updateDirectories)
AUTHORS=$(cat utils/.coauthors)
COMMIT_MESSAGE="$*"
for a in $AUTHORS
do
COMMIT_MESSAGE+="
Co-authored-by: $a"
done
for f in $FILES
do
search $f
done
git add -u
git add *
git commit -m "$*"
git commit -m "$COMMIT_MESSAGE"
git push

@ -1 +1 @@
a3da4bec284acda7002e1f7704457351 -
5f7a73b1831ca754331307f8354cc5cd -

@ -0,0 +1 @@
sigonasr2 <sigonasr2@gmail.com>

@ -1,3 +1,4 @@
eca3648104c4f06e1e6e68925f57bcd6 -
d6b20a25a04a60d94f466e48fa60ac69 -
32a1f953ffca8584d1eb57c0ecd8a582 -
13e14229619562047b230081a9e0b4ce -

Loading…
Cancel
Save