]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commitd818458088af2b3d6b83619668d52c9dad41b2cd
treeacd17bf681bfa13031d5c044cbdbdf82599564aa
parentcb3d2e535a36cc0e4d21cc73b8525a1c0e779d03
parent2ad150e35e52705a97f18bee08f34e00a6557d6f
Merge branch 'sa/git-var-empty'

"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