diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-07 12:47:17 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-07 12:47:17 -0800 |
commit | 9317dc4f051452a0e0f7a62a5531b16adf36b553 (patch) | |
tree | 0ef09fc4b06b1721faa516a302e18a8c5baf887a /Documentation/git-rev-parse.txt | |
parent | 27a23031056fbd540f7c34d78a3f097a3a7c211c (diff) | |
parent | 5ce9086ddfe6931ef34fcd99778c9235e2ee1839 (diff) | |
download | git-9317dc4f051452a0e0f7a62a5531b16adf36b553.tar.gz |
Merge branch 'gb/maint-submodule-env'
* gb/maint-submodule-env:
is_submodule_modified(): clear environment properly
submodules: ensure clean environment when operating in a submodule
shell setup: clear_local_git_env() function
rev-parse: --local-env-vars option
Refactor list of of repo-local env vars
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r-- | Documentation/git-rev-parse.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 1a613aa108..8db600f6ba 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -148,6 +148,12 @@ shown. If the pattern does not contain a globbing character (`?`, --is-bare-repository:: When the repository is bare print "true", otherwise "false". +--local-env-vars:: + List the GIT_* environment variables that are local to the + repository (e.g. GIT_DIR or GIT_WORK_TREE, but not GIT_EDITOR). + Only the names of the variables are listed, not their value, + even if they are set. + --short:: --short=number:: Instead of outputting the full SHA1 values of object names try to |