Skip to content
  • Junio C Hamano's avatar
    Merge branch 'bw/config-h' · f31d23a3
    Junio C Hamano authored
    Fix configuration codepath to pay proper attention to commondir
    that is used in multi-worktree situation, and isolate config API
    into its own header file.
    
    * bw/config-h:
      config: don't implicitly use gitdir or commondir
      config: respect commondir
      setup: teach discover_git_directory to respect the commondir
      config: don't include config.h by default
      config: remove git_config_iter
      config: create config.h
    f31d23a3