git2consul icon indicating copy to clipboard operation
git2consul copied to clipboard

Switching branches is leaving remnants of previous branch in K/V

Open stephenlawrence opened this issue 9 years ago • 0 comments

In the docs it says git2consul will if "files have been added, updated, or deleted and replicates those changes to the KV" but this does not see to apply to "folders":

Here is our scenario:

  1. Running on "master" branch with folders named "x", "y".
  2. Switch to branch "feature" which added a folder named "z".
  3. Switch back to branch "master"
  4. Now we have folders "x", "y", and "z" in the K/V.

I would expect the k/v to mirror the current branch, but maybe I am missing something.

stephenlawrence avatar May 20 '16 16:05 stephenlawrence