[all-commits] [llvm/llvm-project] 52b03a: [clang-format][PR46043] Parse git config w/ implic...

JakeMerdichAMD via All-commits all-commits at lists.llvm.org
Sun May 24 17:37:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 52b03aaa22f650bbd36ceb3bdae4699dae71b2b8
      https://github.com/llvm/llvm-project/commit/52b03aaa22f650bbd36ceb3bdae4699dae71b2b8
  Author: Jake Merdich <Jake.Merdich at amd.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [clang-format][PR46043] Parse git config w/ implicit values

Summary:
https://bugs.llvm.org/show_bug.cgi?id=46043

Git's config is generally of the format 'key=val', but a setting
'key=true' can be written as just 'key'.  The git-clang-format script
expects a value and crashes in this case; this change handles implicit
'true' values in the script.

Reviewers: MyDeveloperDay, krasimir, sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80486




More information about the All-commits mailing list