Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: magit/git-modes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: sensorflo/git-modes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 22, 2015

  1. made auto-mode-alist regex independent of the default ".git" dir

    $GIT_DIR is by default ".git", but is not required to be ".git". E.g. when having sub modules, for each sub module, it's by default ".git/modules/myproject".
    
    git-config(1) lists $GIT_DIR/config, but only having "/config\\'" as auto-mode-alist regex would result in too many false positives. The compromise is to have two regexes:
    - "/.git/config\\'" which matches for the default case where $GIT_DIR is ".git"
    - "/modules/.*/config\\'" which matches a Git submodule within any $GIT_DIR
    sensorflo committed Nov 22, 2015
    Configuration menu
    Copy the full SHA
    6c09904 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e9603c View commit details
    Browse the repository at this point in the history
Loading