Commit Graph

2 Commits

Author SHA1 Message Date
Patrick Ohly
cc564f929a verify-subtree.sh: relax check and ignore old content
If for whatever reasons a repo already had a `release-tools` directory
before doing a clean import of it with `git subtree`, the check used
to fail because it found those old commits.

This can be fixed by telling `git log` to stop when the directory
disappears from the repo. There has to be a commit with removes the
old content, because otherwise `git subtree add` doesn't work.

Fixes: https://github.com/kubernetes-csi/external-resizer/issues/21
2019-03-06 17:23:07 +01:00
Patrick Ohly
73db45967f verify-subtree.sh: ensure that there are no local commits
The goal is to enforce that changes get merged upstream first and only
get into the local repo via a normal "git subtree merge".
2019-01-23 14:43:52 +01:00