Allow storage of repos inside .zit
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 24 Oct 2008 11:56:50 +0000 (13:56 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 24 Oct 2008 11:56:50 +0000 (13:56 +0200)
commitcfea7509f807ba69f102884be070f1336f21d91a
tree6c898d32d14af6980b2c25874eea4bc8e594fefc
parent613f33027bf218c09ebcf50f632834ef7601ec7c
Allow storage of repos inside .zit

Since tracking many files independently in the same directory would create a
large number of .*.git directories, we allow the use of a .zit subdirectory to
collect all repositories in.

The command 'zit init' without any arguments serves the purpose of creating
.zit/, and 'zit track somefile' will create .zit/somefile.git instead of
.somefile.git if .zit/ exists.

For all other commands, we do look for an existing .somefile.git if .zit/
exists but .zit/somefile.git does not.
zit