]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'js/alias-early-config' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2017 20:58:57 +0000 (13:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2017 20:58:58 +0000 (13:58 -0700)
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

1  2 
config.c
help.c
setup.c
t/t1300-repo-config.sh

diff --cc config.c
Simple merge
diff --cc help.c
Simple merge
diff --cc setup.c
Simple merge
Simple merge