Commit 9e6c8358 authored by Martin Postma's avatar Martin Postma Committed by Martin Postma
Browse files

Issue #3137958 by lolandese: Show the commits on remote if your branch is behind

parent 34015da7
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
# Ignore the config folder used by PhpStorm
# Ignore the config folder used by PhpStorm.
/.idea/

# Ignore common macOS files
# Ignore common macOS files.
.DS_Store

# Ignore directories generated by Composer.
/vendor/

# Ignore patch files.
*.patch
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ It provides **a quick insight for projects that contain one or more Git reposito

*   Find the Git Info Report at _admin/reports/gitinfo_.
*   Settings can be configured at _admin/config/development/gitinfo_ and consist of:
    *   Checkbox: Connect with remote repos (default: FALSE)
    *   Radios: Connect with remote repos in a more or less intrusive way (default: fetch)
    *   Textarea: Extra folders to monitor outside the current project root (default: [empty])
    *   Textarea: Aggregate items in ignored folders to show only an item count per directory (defaults to some common directories ignored by Git, like _vendor_)
    *   Number of latest commit messages to show (per repo) (default: 2)
+1 −1
Original line number Diff line number Diff line
connect: false
connect: 'fetch'
extra_folders: ''
aggregate_folders: "vendor\r\nweb/modules/contrib\r\ndocroot/modules/contrib"
number_commit_messages: 2
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ gitinfo.settings:
  label: 'Git Info Report settings'
  mapping:
    connect:
      type: boolean
      type: string
      label: "Connect with remote repos"
    extra_folders:
      type: string
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ function gitinfo_requirements($phase) {
  if ($phase === 'install' || ($phase === 'runtime' && $route_name === 'system.status')) {
    // Initialize some variables.
    $requirements = [];
    $severity = REQUIREMENT_OK;
    $gitinfo_module = Link::fromTextAndUrl(t('Git Info Report'), Url::fromRoute('system.modules_uninstall', [], [
      'attributes' => [
        'title' => t('Uninstall'),
Loading