Changes

The changes view shows you all the changes introduced by this merge request.

../../_images/mr_changes_raw.png

An example changes view of a merge request based on commit 15a46bc0 from the open source project GORM (license: MIT).

The changes view shows you all changes that are introduced by this merge request. It is very similar to the Commits view in that it summarizes all changes introduced by all commits. Many of the elements presented here are discussed in more detail in Code Review and Diffs.

Elements

../../_images/mr_changes_annot.svg

Identifiers for specific areas of the example merge request changes view above.

2 Threads

../../_images/thread-list.png

The thread list displays all threads that reference code visible on the current page. For example, if you click through the commits of a merge request, only threads that reference code in the current commit are shown.

For each thread the following information is shown:
  • the color used to indicate the code references (left border color),

  • the author,

  • the number of replies for this thread (blue badge with number),

  • a preview of the comments content,

  • whether a change request was fixed (first check mark) and approved (second check mark),

  • a pending badge if the thread was not published yet.

../../_images/thread-hover.png

By hovering over a thread, you can see how many code references are visible on the current page. Click on the up and down arrow buttons to cycle through the references. The browser will scroll to the corresponding code area and the code reference blinks slowly.

By double clicking on a thread, the browser scrolls to the associated comment.

3 Minimap

Another handy tool is the minimap, which lets you quickly navigate the diff by clicking it where you want to go. A white overlay always shows you what part of the diff you are currently seeing.

4 Diff

The main body of this view is the diff, i.e. a visualization of all changes introduced in the current commit.

Each file is shown as a separate block with its name or path in the top header. You can collapse files by clicking this header. Large files are collapsed by default. To view not only the changes but the entire file, click the View button in the file header. To get more context around changes, hover with the mouse in the vicinity of the change until you see the show more button and click it.

Please take a look at Diffs to learn more how MergeBoard displays changes and how to interpret them.