WIP: generation of 'virtual' worktrees
authorChristian Thaeter <ct@pipapo.org>
Wed, 13 Feb 2008 06:08:42 +0000 (07:08 +0100)
committerChristian Thaeter <ct@pipapo.org>
Wed, 13 Feb 2008 06:08:42 +0000 (07:08 +0100)
commit8b17f38921548f1813c4a24a3ff79b0a6fb01cf9
tree02a790bb8641e0e5b2e47226e0a75cecf5ada6be
parentf2f5bc6f0aaa5d595ad67b55ed8f645883f62ce1
WIP: generation of 'virtual' worktrees

a virtual worktree is a commit object in refs/worktrees with a single
parent which points to the head commit from which it originates and
a tree object which initially is the same tree as in that original head.
With each edit this tree object will be updated (and thus the references
sha1 will change, volatile commit!)

Add a 'editable' per repo config var to enable the edit machinery.

Needed to pass repo instead of query around in object_tree.c
Makefile.am
src/actions.c
src/edit.c
src/object_blob.c
src/object_tree.c
src/repo.c
src/repo.h
src/webgit.h
src/worktree.c [new file with mode: 0644]
src/worktree.h [new file with mode: 0644]