]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/branch-l-0-deprecation'
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:31 +0000 (12:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:31 +0000 (12:20 -0700)
commitd18602f4123ad61b094aff5b2822774cf020e70e
treea5d6bbc7a9ead4aaeec236e4fc9a1fa8fc936c34
parentd036d667b7f297f8305ffaaec212a95da7022ebe
parent055930bc8960c303ece01d9a34740f25a2a6bba6
Merge branch 'jk/branch-l-0-deprecation'

The "-l" option in "git branch -l" is an unfortunate short-hand for
"--create-reflog", but many users, both old and new, somehow expect
it to be something else, perhaps "--list".  This step warns when "-l"
is used as a short-hand for "--create-reflog" and warns about the
future repurposing of the it when it is used.

* jk/branch-l-0-deprecation:
  branch: deprecate "-l" option
  t: switch "branch -l" to "branch --create-reflog"
  t3200: unset core.logallrefupdates when testing reflog creation
builtin/branch.c