mirror of
https://github.com/jayphelps/git-blame-someone-else.git
synced 2025-05-01 11:06:21 +02:00
Merge ba39f70736
into 8d854c2d78
This commit is contained in:
commit
5fb23b11c5
1 changed files with 11 additions and 1 deletions
12
git-blame-someone-else
Normal file → Executable file
12
git-blame-someone-else
Normal file → Executable file
|
@ -16,4 +16,14 @@ COMMIT=$(git rev-parse --short $2)
|
||||||
git rebase --continue
|
git rebase --continue
|
||||||
} &> /dev/null
|
} &> /dev/null
|
||||||
|
|
||||||
echo "$AUTHOR_NAME is now the author of $COMMIT. You're officially an asshole.";
|
INSULTS=(
|
||||||
|
"You're officially an asshole."
|
||||||
|
"Great job."
|
||||||
|
"You dirty animal."
|
||||||
|
"They owe you one."
|
||||||
|
)
|
||||||
|
|
||||||
|
INDEX=$(($RANDOM % ${#INSULTS[@]}))
|
||||||
|
|
||||||
|
echo "$AUTHOR_NAME is now the author of $COMMIT. ${INSULTS[$INDEX]}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue