It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

1 vote

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?

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

268 views 2 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you