diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-02-27 21:57:14 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-27 21:57:14 (GMT) |
commit | fdeb89fdeb1db8f8910bc33547dd819065bc4e9d (patch) | |
tree | 1b31156dd553df1241dee44e0bdc33dd31135eb7 /Documentation | |
parent | 015fba38345c685275864e5b216c74e8ba0633bb (diff) | |
parent | 3ba042017a63492d8709b1991def43414ce87976 (diff) | |
download | git-fdeb89fdeb1db8f8910bc33547dd819065bc4e9d.zip git-fdeb89fdeb1db8f8910bc33547dd819065bc4e9d.tar.gz git-fdeb89fdeb1db8f8910bc33547dd819065bc4e9d.tar.bz2 |
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 <path>'
rev-parse: add '--absolute-git-dir' option
completion: fix completion after 'git -C <path>'
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=<path>' when listing remote refs
completion: fix most spots not respecting 'git --git-dir=<path>'
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
...
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-rev-parse.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 7241e96..91c02b8 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -217,6 +217,10 @@ If `$GIT_DIR` is not defined and the current directory is not detected to lie in a Git repository or work tree print a message to stderr and exit with nonzero status. +--absolute-git-dir:: + Like `--git-dir`, but its output is always the canonicalized + absolute path. + --git-common-dir:: Show `$GIT_COMMON_DIR` if defined, else `$GIT_DIR`. |