浏览代码

Merge pull request #17315 from robfram/fix-git-hook-pre-commit-clang-format

Change shebang of pre-commit-clang-format hook to make it portable
Rémi Verschelde 7 年之前
父节点
当前提交
1388ff5cbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/hooks/pre-commit-clang-format

+ 1 - 1
misc/hooks/pre-commit-clang-format

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # git pre-commit hook that runs a clang-format stylecheck.
 # Features: