Skip to content

Commit

Permalink
git-watch: Reword TODO - this is the way I want to do this
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Jun 22, 2017
1 parent 09f7904 commit ca124df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-watch
Expand Up @@ -69,8 +69,8 @@ def rm(repos):
dir = subprocess.check_output(["git", "-C", repo, "rev-parse", "--show-toplevel"])
dir = dir.decode("ascii").strip("\n")
except subprocess.CalledProcessError:
# TODO: If the dir isn't found in config, error out.
# (If it IS found, remove it, as that's how you remove a deleted repo.)
# TODO: If the dir isn't found in config, error out. But if it IS found,
# suppress the error and remove it, as that's how you remove a deleted repo.
dir = os.path.abspath(repo)
# TODO: As above, check for regex specials
subprocess.check_call(["git", "config", "--global", "--unset-all", "rosuav.git-watch.repos", dir])
Expand Down

0 comments on commit ca124df

Please sign in to comment.