author | Ray Chen <rchen@cs.umd.edu> | |
Wed, 20 Jul 2011 22:37:26 +0000 (18:37 -0400) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 1 Sep 2011 07:10:22 +0000 (07:10 +0000) | ||
commit | 40a1530c07a6a720b6cfa52c6132274fac4e4112 | |
tree | feabfa82ea7a7f07ce219b29962ac11c3efee468 | tree | snapshot |
parent | 4b5eac7f03f411f75087e0b6db23caa999624304 | commit | diff |
git-svn: New flag to emulate empty directories
Adds a --preserve-empty-dirs flag to the clone operation that will detect
empty directories in the remote Subversion repository and create placeholder
files in the corresponding local Git directories. This allows "empty"
directories to exist in the history of a Git repository.
Also adds the --placeholder-file flag to control the name of any placeholder
files created. Default value is ".gitignore".
Signed-off-by: Ray Chen <rchen@cs.umd.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
Adds a --preserve-empty-dirs flag to the clone operation that will detect
empty directories in the remote Subversion repository and create placeholder
files in the corresponding local Git directories. This allows "empty"
directories to exist in the history of a Git repository.
Also adds the --placeholder-file flag to control the name of any placeholder
files created. Default value is ".gitignore".
Signed-off-by: Ray Chen <rchen@cs.umd.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt | diff | blob | history | |
git-svn.perl | diff | blob | history | |
t/t9160-git-svn-preserve-empty-dirs.sh | [new file with mode: 0755] | blob |