summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Giuseppe Bilotta [Fri, 24 Oct 2008 19:59:37 +0000 (21:59 +0200)]
Cleaner initial repositories
Typical Zit usage doesn't need most of the stuff that Git makes use of: hooks,
branches, tags etc. They are automatically recreated as needed anyway.
Giuseppe Bilotta [Fri, 24 Oct 2008 12:09:22 +0000 (14:09 +0200)]
zit list supports .zit/* repos
Giuseppe Bilotta [Fri, 24 Oct 2008 11:56:50 +0000 (13:56 +0200)]
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.
Giuseppe Bilotta [Thu, 23 Oct 2008 16:06:14 +0000 (18:06 +0200)]
zit-to-git command delegation fixes
Many git commands behave correctly at the repository level, so we remove the
$ZIT_FILE from the parameter list for most commands.
Some commands do need the filename, so for add and commit we add it back.
Giuseppe Bilotta [Thu, 23 Oct 2008 14:54:30 +0000 (16:54 +0200)]
Remove useless shift
Giuseppe Bilotta [Thu, 23 Oct 2008 14:44:42 +0000 (16:44 +0200)]
Simplify repository structure
We abandon the .zit.file/.git idea to switch to a structure where the Git dir
is just .file.git, and the working tree is the current directory.
This has the advantage of not requiring non-portable and fragile hardlinks,
although it requires a rather drastic .file.git/info/exclude file to simulate
the one-file repository.
Giuseppe Bilotta [Thu, 23 Oct 2008 00:23:14 +0000 (02:23 +0200)]
Draft usage/help
Giuseppe Bilotta [Wed, 22 Oct 2008 23:53:48 +0000 (01:53 +0200)]
Zit track = init, tracked = list
Giuseppe Bilotta [Wed, 22 Oct 2008 17:45:42 +0000 (19:45 +0200)]
Early bailout in case of missing filename
Giuseppe Bilotta [Wed, 22 Oct 2008 17:40:41 +0000 (19:40 +0200)]
Zit: delegate all other commands to git
Giuseppe Bilotta [Wed, 22 Oct 2008 17:38:44 +0000 (19:38 +0200)]
Zit list command
Giuseppe Bilotta [Wed, 22 Oct 2008 17:05:46 +0000 (19:05 +0200)]
Refactor Zit init
Giuseppe Bilotta [Wed, 22 Oct 2008 17:04:42 +0000 (19:04 +0200)]
Refactor Zit setup
Giuseppe Bilotta [Wed, 22 Oct 2008 17:00:33 +0000 (19:00 +0200)]
Zit only works on files in the current directory
Giuseppe Bilotta [Wed, 22 Oct 2008 16:53:20 +0000 (18:53 +0200)]
Initial commit