Code

Refactor working tree setup
authorMike Hommey <mh@glandium.org>
Sat, 3 Nov 2007 11:23:11 +0000 (12:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 06:47:57 +0000 (22:47 -0800)
commit59f0f2f33a420e9a14bb8cef20d38f508f0d098e
tree3a6b8cf5e96e4ae841b900a2f57d59ff827aa149
parentfe61935007b6803ce116e233316e4ff51de02be6
Refactor working tree setup

Create a setup_work_tree() that can be used from any command requiring
a working tree conditionally.

Signed-off-by: Mike Hommey <mh@glandium.org>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
git.c
setup.c