aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/bash/git-pre-commit
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-04-02 12:45:58 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-04-02 12:45:58 +0100
commit77001293a64932949049e439efecd792aa3b2d12 (patch)
tree77abf82c4feffe9a24a72a2426366cdb466b7968 /reproduce/src/bash/git-pre-commit
parent5d56820e0ab1fc147b45728c6ac89c4ac0b90e54 (diff)
.gitignore with copyright using better search for copyright notice
In the previous commit, a copyright notice was added after a systematic search of the version controlled files. However, we missed `.gitignore' (because we were discarding those with the `*.git*' pattern to avoid files in the `.git' directory). This has been fixed by using this command (in the top project directory) instead: for f in $(find ./ -type f); do \ if [[ $f != ./.git/* ]]; then \ n=$(grep -i copyright $f | wc -l); \ echo "$n $f"; \ fi; \ done | awk '$1==0'
Diffstat (limited to 'reproduce/src/bash/git-pre-commit')
0 files changed, 0 insertions, 0 deletions