Skip to content
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]}";