LGTM
https://codereview.appspot.com/579570046/diff/579580044/lily/stencil-integral.cc
File lily/stencil-integral.cc (right):
https://codereview.appspot.com/579570046/diff/579580044/lily/stencil-integral...
lily/stencil-integral.cc:111: for (;scm_is_pair (l); l = scm_cdr (l))
to automatically reformat changed lines of code, you could install the following
hook:
$ cat .git/hooks/pre-commit
#!/bin/sh
FILES=$(git diff -U0 --no-renames --diff-filter=AM --no-color --name-only HEAD |
egrep '(hh|cc)$' )
if [[ -n "${FILES}" ]]; then
git diff --no-renames --diff-filter=AM -U0 --no-color HEAD |
clang-format-diff.py -i -p1
git add ${FILES}
fi
(doesn't work well with partial file staging, though)
Issue 579570046: get_path_list: use loop instead of tail recursion
Created 4 years ago by dak
Modified 4 years ago
Reviewers: hanwenn
Base URL:
Comments: 1