diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-20 09:05:08 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-20 09:05:08 +0100 |
commit | b180f981b8c93e8379eb3745692fe05830af4a7b (patch) | |
tree | a5a38ca1bdb6084892586e6b57d447c81ec10c1b /src/main.rs | |
parent | d3b2551de645466aeb4454325929787b1675fd8b (diff) |
Fix: Check the repository diff to workdir as well
This patch fixes the repository cleanness check, because the Repository::state()
is RepositoryState::Clean even if there are changed files in the worktree.
We want to fail if there's something uncommitted/unclean, so we have to check
the diff here as well.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions