[all-commits] [llvm/llvm-project] 0326d4: [Utils] Use whoami to get username for arcanist wa...

David Spickett via All-commits all-commits at lists.llvm.org
Thu May 13 03:15:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0326d4667ab116588e6f987ceed151e709d263c2
      https://github.com/llvm/llvm-project/commit/0326d4667ab116588e6f987ceed151e709d263c2
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M utils/arcanist/clang-format.sh

  Log Message:
  -----------
  [Utils] Use whoami to get username for arcanist warning message

959eec1fddc83c90c208789f20cb6573b2a20642 changed the message
to show the local username with "$user" but this is not always set.

Some systems will have USER/USERNAME/LOGNAME, so just use "whoami"
instead.




More information about the All-commits mailing list