• Junio C Hamano's avatar
    Merge branch 'jk/setup-sequence-update' · d845d727
    Junio C Hamano authored
    There were numerous corner cases in which the configuration files
    are read and used or not read at all depending on the directory a
    Git command was run, leading to inconsistent behaviour.  The code
    to set-up repository access at the beginning of a Git process has
    been updated to fix them.
    
    * jk/setup-sequence-update:
      t1007: factor out repeated setup
      init: reset cached config when entering new repo
      init: expand comments explaining config trickery
      config: only read .git/config from configured repos
      test-config: setup git directory
      t1302: use "git -C"
      pager: handle early config
      pager: use callbacks instead of configset
      pager: make pager_program a file-local static
      pager: stop loading git_default_config()
      pager: remove obsolete comment
      diff: always try to set up the repository
      diff: handle --no-index prefixes consistently
      diff: skip implicit no-index check when given --no-index
      patch-id: use RUN_SETUP_GENTLY
      hash-object: always try to set up the git repository
    d845d727
diff-no-index.c 6.96 KB