From: Junio C Hamano Date: Mon, 27 Feb 2017 21:57:14 +0000 (-0800) Subject: Merge branch 'sg/completion' X-Git-Tag: v2.13.0-rc0~170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdeb89fdeb1db8f8910bc33547dd819065bc4e9d;p=git Merge branch 'sg/completion' Clean-up and updates to command line completion (in contrib/). * sg/completion: (22 commits) completion: restore removed line continuating backslash completion: cache the path to the repository completion: extract repository discovery from __gitdir() completion: don't guard git executions with __gitdir() completion: consolidate silencing errors from git commands completion: don't use __gitdir() for git commands completion: respect 'git -C ' rev-parse: add '--absolute-git-dir' option completion: fix completion after 'git -C ' completion: don't offer commands when 'git --opt' needs an argument completion: list short refs from a remote given as a URL completion: don't list 'HEAD' when trying refs completion outside of a repo completion: list refs from remote when remote's name matches a directory completion: respect 'git --git-dir=' when listing remote refs completion: fix most spots not respecting 'git --git-dir=' completion: ensure that the repository path given on the command line exists completion tests: add tests for the __git_refs() helper function completion tests: check __gitdir()'s output in the error cases completion tests: consolidate getting path of current working directory completion tests: make the $cur variable local to the test helper functions ... --- fdeb89fdeb1db8f8910bc33547dd819065bc4e9d