Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Commit list preview merging line breaks after running BFG

Glecko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2025

I've ran BFG on several of my repos (see r****s, and r****s-t***s) using BFG (deleting large blobs and adding files to LFS).

After force-pushing to bitbucket, my commit previews (e.g. on the "Commits" section) now displays texts from all commit message lines, not just the subject line.

This, together with the fact that BFG has added newlines with "Former-commit-id" to all commits, makes the whole section unreadable and spammy.

Example:

Screenshot 2025-08-23 100252.png

It doesn't seem to be an issue with BFG, which has correctly added the extra text in the body, after a line break:

Screenshot 2025-08-23 100348.png

I can run a regex with git filter-branch to remove the former-commit-id texts. But several of my commits had messages beyond the first line, which now also display like this, so this would only slightly mitigate the issue, not fix it.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events