Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more insults #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion git-blame-someone-else
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@ COMMIT=$(git rev-parse --short $2)
git rebase --continue
} &> /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."
Copy link

@PoolloverNathan PoolloverNathan Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"They owe you one."
"They owe you one."
"They'll never live this down."

)

INDEX=$(($RANDOM % ${#INSULTS[@]}))

echo "$AUTHOR_NAME is now the author of $COMMIT. ${INSULTS[$INDEX]}";