Skip to content

Instantly share code, notes, and snippets.

@jbarciauskas
Created May 24, 2011 21:29
Show Gist options
  • Save jbarciauskas/989746 to your computer and use it in GitHub Desktop.
Save jbarciauskas/989746 to your computer and use it in GitHub Desktop.
unroot before making the repo dir
[sandboxuser@box42-107 blueprint]$ git diff
diff --git a/blueprint/git.py b/blueprint/git.py
index 39f7743..c6ea528 100644
--- a/blueprint/git.py
+++ b/blueprint/git.py
@@ -27,6 +27,7 @@ def init():
"""
dirname = repo()
try:
+ unroot()
os.makedirs(dirname)
except OSError:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment