]> git.ipfire.org Git - thirdparty/git.git/commit - block-sha1/sha1.h
Merge branch 'ps/config-env-pairs'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Jan 2021 22:19:19 +0000 (14:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jan 2021 22:19:19 +0000 (14:19 -0800)
commit294e949fa2dfd43097b2b5614470a3e43604663d
tree05965a5fb1413fbf6c896aa8494338af676228c4
parent7eefa1349bcba7f4bb533f6e04f472c27b16ea83
parentd8d77153eafdb0fc334e827976f09e4bdff26b58
Merge branch 'ps/config-env-pairs'

Introduce two new ways to feed configuration variable-value pairs
via environment variables, and tweak the way GIT_CONFIG_PARAMETERS
encodes variable/value pairs to make it more robust.

* ps/config-env-pairs:
  config: allow specifying config entries via envvar pairs
  environment: make `getenv_safe()` a public function
  config: store "git -c" variables using more robust format
  config: parse more robust format in GIT_CONFIG_PARAMETERS
  config: extract function to parse config pairs
  quote: make sq_dequote_step() a public function
  config: add new way to pass config via `--config-env`
  git: add `--super-prefix` to usage string
Documentation/git-config.txt
Documentation/git.txt
cache.h
config.c
config.h
git.c
t/t1300-config.sh