Skip to content
  • Junio C Hamano's avatar
    Merge branch 'js/alias-early-config' into maint · 040746c0
    Junio C Hamano authored
    The code to pick up and execute command alias definition from the
    configuration used to switch to the top of the working tree and
    then come back when the expanded alias was executed, which was
    unnecessarilyl complex.  Attempt to simplify the logic by using the
    early-config mechanism that does not chdir around.
    
    * js/alias-early-config:
      alias: use the early config machinery to expand aliases
      t7006: demonstrate a problem with aliases in subdirectories
      t1308: relax the test verifying that empty alias values are disallowed
      help: use early config when autocorrecting aliases
      config: report correct line number upon error
      discover_git_directory(): avoid setting invalid git_dir
    040746c0