diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-11 17:02:45 -0700 |
---|---|---|
committer | Petr Baudis <xpasky@machine.sinus.cz> | 2005-05-12 21:36:27 +0200 |
commit | 1126b419d6835f6b8c45ccfffc0ada9b09e32d87 (patch) | |
tree | cf4636b1dedf52ac77749a71b95d5b6df60fbae8 /Documentation/git-write-blob.txt | |
parent | Fixed a leak in read-tree (diff) | |
download | tgif-1126b419d6835f6b8c45ccfffc0ada9b09e32d87.tar.xz |
[PATCH] checkout-cache fix
Fix checkout-cache when existing work tree interferes with the checkout.
This is essentially the same one as the last one I sent to the
GIT list, except that the patch is rebased to the current tip of
the git-pb tree, and an unnecessary call to create_directories()
removed.
The checkout-cache command gets confused when checking out a
file in a subdirectory and the work tree has a symlink to the
subdirectory. Also it fails to check things out when there is a
non-directory in the work tree when cache expects a directory
there, and vice versa. This patch fixes the first problem by
making sure all the leading paths in the file being checked out
are indeed directories, and also fixes directory vs
non-directory conflicts when '-f' is specified by removing the
offending paths.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'Documentation/git-write-blob.txt')
0 files changed, 0 insertions, 0 deletions