Commits labeled "M"

I see some commits are labeled "M" in the Bamboo Code Commits Tab (and repeated on the Summary tab). What does this mean?

3 answers

This widget could not be displayed.

It means that those commits were the result of a merge.

This widget could not be displayed.

They are merged commits. Idea is if you merge multiple commits and then the build fails we only notify the person doing the merge rather than marking half your team as responsible. To indicate the commits that are not taken into account when we determine responsibility, notifications and so on, we flag them with 'M'

How exactly bamboo understands, which new commits were "merged" and which were not? Git does not know which branch a commit was originally committed into. I'm interested in a general case, when we do not use pull requests and perform merges manually.

We use heuristics that checks at ancenstry path between previous and the current build. If a commit is not on the path, it's most probably a 'merged' commit. Obviously, this doesn't always work, but is good enought for typical setup.

Fair enough. Is this something more complicated than simply walking to the first parent each time? Is it documented? And can we change this behavior?

This widget could not be displayed.

They are merge commits.

Hmm, I don't see them in my Bamboo install (5.10.0).

They make a lot more sense if you install one of the commit-graph add-ons available in marketplace.atlassian.com and the look at them in Bitbucket Server (search for "commit graph"):

 

490a7183-2c90-459e-8773-3429085b1f7f.png

 

I recommend Bit-Booster Commit Graph.

But I'm biased.  I'm the author of that add-on.  smile

Perhaps I should port it to Bamboo!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

63 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you