author | Eric Wong <normalperson@yhbt.net> | |
Mon, 16 Nov 2009 02:57:16 +0000 (18:57 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Mon, 16 Nov 2009 03:30:06 +0000 (19:30 -0800) | ||
commit | 6111b934991f3ea670ac2442806c976defc7b61c | |
tree | cb892f1efc6601e63f640d6a51f222e89c60a08c | tree | snapshot |
parent | e2f8617b266e320fd58ab584cae2ebe9906daaac | commit | diff |
git svn: attempt to create empty dirs on clone+rebase
We parse unhandled.log files for empty_dir statements and make a
best effort attempt to recreate empty directories on fresh
clones and rebase. This should cover the majority of cases
where users work off a single branch or for projects where
branches do not differ in empty directories.
Since this cannot affect "normal" git commands like "checkout"
or "reset", so users switching between branches in a single
working directory should use the new "git svn mkdirs" command
after switching branches.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
We parse unhandled.log files for empty_dir statements and make a
best effort attempt to recreate empty directories on fresh
clones and rebase. This should cover the majority of cases
where users work off a single branch or for projects where
branches do not differ in empty directories.
Since this cannot affect "normal" git commands like "checkout"
or "reset", so users switching between branches in a single
working directory should use the new "git svn mkdirs" command
after switching branches.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt | diff | blob | history | |
git-svn.perl | diff | blob | history | |
t/t9115-git-svn-dcommit-funky-renames.sh | diff | blob | history | |
t/t9146-git-svn-empty-dirs.sh | [new file with mode: 0755] | blob |