# Bug GIT-28 - Fix the format of the GitLab Commit Text in the OpenProject Comments

Project: Stream Repositories
Status: closed
URL: https://community.openproject.org/work_packages/GIT-28

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2024-10-04 –  |
| Priority | Medium |
| Module | Integrations / GitLab |
| Target versions | 18.0.0 |
| Observed in versions | 14.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.5.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

# Fix the format of the GitLab Commit Text in the OpenProject Comments

## Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Push some commit via GitLab into OpenProject

2.  Check the comments in OpenProject

3.  The Text is not formated correctly 

## What is the buggy behavior?

*The Text is not formated correctly see Images:*

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/199917/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/199918/content">

## What is the expected behavior?

*The Text should be formated like this:*

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/199920/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/199921/content">

### 

### Add-on

It would be nice to just display the name of the branch, or even better the link to the branch like this:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/199923/content"> 

I think most users don't need the information "refs/heads/main"

<br>

### **OpenProject installation type**

  - OnPrem v14.5.0 Enterprise

  - Ubuntu 20.04

**Browser**

- [x] Chrome
- [x] Firefox

**Operating System**

- [x] Windows

**Language**

  - *DE*
