mirror of
https://github.com/git/git.git
synced 2026-03-01 19:16:25 +00:00
rev-parse: --local-env-vars option
This prints the list of repo-local environment variables. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
48a7c1c49d
commit
94c8ccaaba
@@ -149,6 +149,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
|
||||
|
||||
Reference in New Issue
Block a user