Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix git_add resource #46

Merged
merged 4 commits into from
Sep 9, 2022
Merged

fix git_add resource #46

merged 4 commits into from
Sep 9, 2022

Commits on Sep 9, 2022

  1. rename source file for default_value modifier

    Sebastian Hoß committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    7e4522a View commit details
    Browse the repository at this point in the history
  2. enable verbose output for specific terratest runs

    Sebastian Hoß committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    140cc7d View commit details
    Browse the repository at this point in the history
  3. add more test utilities

    Sebastian Hoß committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    44c1b67 View commit details
    Browse the repository at this point in the history
  4. fix git_add resource handling wrt. deleted files

    Using worktree.AddWithOptions does not work as documented:
    
    1) Setting All to true always adds all added/modified files, even if Path or Glob is specified
    2) Setting All to true does not add deleted files even
    
    In order to work around this, worktree.Add is called instead, and we are iterating manually over the current worktree.Status to get all files that somehow changed (including the deleted ones).
    Sebastian Hoß committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    0f87fdc View commit details
    Browse the repository at this point in the history