diff options
author | Jens Lehmann <Jens.Lehmann@web.de> | 2010-12-05 00:27:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-06 16:42:07 -0800 |
commit | 69e7236c6df44bfcde8913972b75a6ccb360d58f (patch) | |
tree | 3858142dcbd1a82116ce8e26bf6afebf4b610727 /Documentation | |
parent | git submodule -b ... of current HEAD fails (diff) | |
download | tgif-69e7236c6df44bfcde8913972b75a6ccb360d58f.tar.xz |
git submodule: Remove now obsolete tests before cloning a repo
Since 55892d23 "git clone" itself checks that the destination path is not
a file but an empty directory if it exists, so there is no need anymore
for module_clone() to check that too.
Two tests have been added to test the behavior of "git submodule add" when
path is a file or a directory (A subshell had to be added to the former
last test to stay in the right directory).
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions