FR: when walkFolder detects a .git warn the user with a link


We could warn the user if a .git dir is detected during walk and pop up a message like: “hey you are advised to not do that, check the link for more info”. I think it makes sense because it’s a common user mistake.

I think it’s a bad idea because:

  1. Some people know what they are doing and it’s ok in those cases.
  2. You’d emit the warning on every walk, which for people who know what they are doing would be annoying, so you’d have to add a flag to disable it.
  3. This makes a precedent, next thing you know we’d have to warn about *.wal, and have a flag for that too, turning the config into united nations front driveway (full of flags…)