Commit graph

5 commits

Author SHA1 Message Date
Đoàn Trần Công Danh
f5417b7b99 travis/changed_templates: correct left tree-ish
From b881f32687 (travis/changed_templates: filter by git itself,
2020-05-23), we replaced git-diff(1) with git-diff-tree(1).

The change wasn't equivalence, though.
We used to compare between merge-base of FETCH_HEAD and HEAD.
From that commit, we started to compare FETCH_HEAD and HEAD instead.

Fix them by changing left tree-ish to the merge-base.
2020-06-10 16:40:39 +00:00
Đoàn Trần Công Danh
b881f32687 travis/changed_templates: filter by git itself
- Use plumbing git-diff-tree(1) instead of porcelain git-diff(1)
- Disable rename detection, gains some speed up and fix missing template
  with name-status Renamed and Copied.
- Use "--diff-filter" to filter by Git itself.
- Tell Git to only check 'srcpkgs/*/template', this glob will only look
  into template file inside direct sub-directory of srcpkgs
- With all of those options, we don't need a grep and a pipe
2020-05-31 02:10:29 +00:00
maxice8
81e021bd8a common/travis/changed_templates.sh: try chroot-git then git 2019-03-07 17:26:45 -08:00
Enno Boland
bb71db78dd common/travis: use the same shebang format for all travis scripts. 2015-04-10 15:42:12 +02:00
Enno Boland
8351befa28 .travis.yml: test build packages on travis. 2015-04-10 10:37:26 +02:00