]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sa/git-var-empty'
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Dec 2022 06:55:47 +0000 (15:55 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Dec 2022 06:55:47 +0000 (15:55 +0900)
"git var UNKNOWN_VARIABLE" and "git var VARIABLE" with the variable
given an empty value used to behave identically.  Now the latter
just gives an empty output, while the former still gives an error
message.

* sa/git-var-empty:
  var: allow GIT_EDITOR to return null
  var: do not print usage() with a correct invocation


Trivial merge