godot/misc
Rémi Verschelde 7bfb7df673 Travis: Fix clang-format on non-master branches
`git diff-tree` used to fail on the `3.2` branch (and other non-master
branches) as Travis doesn't actually check that branch from the remote:
```
fatal: ambiguous argument '3.2': unknown revision or path not in the
working tree.
```

The exit code would still be 0 so we'd miss badly formatted commits
targeting stable branches.

We do it manually to ensure that it's going to work as we want it.

(cherry picked from commit e479231b21)
2020-03-12 14:09:37 +01:00
..
dist Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
hooks Change shebang of pre-commit-clang-format hook to make it portable 2018-04-14 20:59:39 +02:00
scripts Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
travis Travis: Fix clang-format on non-master branches 2020-03-12 14:09:37 +01:00