Skip to content

Commit

Permalink
git-cvsserver: add mechanism for managing working tree and current di…
Browse files Browse the repository at this point in the history
…rectory

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>
  • Loading branch information
Matthew Ogilvie authored and Junio C Hamano committed May 16, 2008
1 parent 4b172de commit 044182e
Showing 1 changed file with 213 additions and 39 deletions.
Loading

0 comments on commit 044182e

Please sign in to comment.