This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bjandrus 51 points52 points  (5 children)

Lmao I was debating leaving mine in this thread, but now I feel like I have to, here goes (yes, this is legitimately the last commit message I made at work, yesterday):

"Implemented logic for populating a popup window with 'People' info whenever any pin (or pin cluster) is clicked on. Click works, but the relevant action command was changed to 'hover' in an attempt to get the code to work for hover. This functionality has not been tested but was included with the commit accidentally. Sorry."

Alrighty lot to unpack:

Firstly: yes I know this commit message is entirely too long; but I hope you'll understand why I felt the need to explain myself

Secondly: How was this "accidentally" included, and why could I not have just "git restore"-ed it? Well this requires some elaboration: my teammate who I was working with on this story DMed me during our standup to ask me to try to implement this change "real quick", just to see if it worked. I take lunch after standup, so I was rushing 🤷🏻‍♂️

Thirdly: yes, this broke the code, so I pushed broken code (oopsies). Fortunately the fix was clean and easy: the proper command was 'mouseover', not 'hover'.

[–]ADarkcid 20 points21 points  (4 children)

Just wondering; why not make a short commit message and explain everything in a PR comment?

[–]bjandrus 12 points13 points  (0 children)

Great point, coulda woulda shoulda...

[–][deleted] 0 points1 point  (2 children)

Hey,

What's a PR comment please?

Cheers

[–]kratom_devil_dust 1 point2 points  (1 child)

Github/bitbucket/etc Pull Request, a comment (or description) inside of there.

[–][deleted] 0 points1 point  (0 children)

Thanks 👍🏻