git-cvsserver: add mechanism for managing working tree and current directory
commit044182ef82f1a371c469a26a6d64c7b823aea764
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>
Thu, 15 May 2008 04:35:46 +0000 (14 22:35 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 May 2008 18:49:47 +0000 (16 11:49 -0700)
tree533e6d992093a1e32230c7f79d15ece93ae74f01
parent4b172de81b878cdc8b10803fd0cd79b3ca66a621
git-cvsserver: add mechanism for managing working tree and current directory

There are various reasons git-cvsserver needs to manipulate the current
directory, and this patch attempts to clarify and validate such changes:

1. Temporary empty working directory (with index) for certain operations
   that require an index file to work.
2. Use a temporary directory with temporary file names for doing
   merges of user's dirty sandbox state with latest changes in
   repository.
3. Coming up soon: Set up an index and either a valid or empty
   working directory when calling git-check-attr to decide
   if a file should be marked binary (-kb).

Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl