Allow editing only when worktree is not diverted from head
authorChristian Thaeter <ct@pipapo.org>
Thu, 21 Feb 2008 01:59:31 +0000 (02:59 +0100)
committerChristian Thaeter <ct@pipapo.org>
Thu, 21 Feb 2008 01:59:31 +0000 (02:59 +0100)
commit6ac62427993177b4d9ef230c67b5ca894ddac62a
tree064caa045f1afdbf7cef4c3af673458b93f2a516
parent39138fef1e29b8f24af3119154907ce979c5bc1e
Allow editing only when worktree is not diverted from head

in case a file got edited and staged previously only a 'diff' link will be
shown.
src/object_blob.c
src/object_tree.c
src/worktree.c
src/worktree.h