From: Steven Walter Date: Mon, 6 Apr 2009 20:24:08 +0000 (-0400) Subject: cmd_init: create the .git/yap directory X-Git-Tag: v0.4~4 X-Git-Url: https://repo.or.cz/w/yap.git/commitdiff_plain/0fa1f4860fef65ccc2f07ae36e0973256d5e58ff cmd_init: create the .git/yap directory --- diff --git a/yap/yap.py b/yap/yap.py index 17d7aa5..71f0d4b 100644 --- a/yap/yap.py +++ b/yap/yap.py @@ -486,6 +486,7 @@ No files are added nor commits made. """) def cmd_init(self): os.system("git init") + os.mkdir(os.path.join(".git", "yap")) @short_help("add a new file to the repository") @long_help("""