author | Alexander Potashev <aspotashev@gmail.com> | |
Sun, 11 Jan 2009 12:19:12 +0000 (15:19 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Jan 2009 21:26:29 +0000 (13:26 -0800) | ||
commit | 55892d23981917aefdb387ad7d0429f90cbd446a | |
tree | 72b1aab773fa37b50d07991de8a227994f1d6a7b | tree | snapshot |
parent | 8ca12c0d62c0be4a4987c4a936467ea2a92e915a | commit | diff |
Allow cloning to an existing empty directory
The die() message updated accordingly.
The previous behaviour was to only allow cloning when the destination
directory doesn't exist.
[jc: added trivial tests]
Signed-off-by: Alexander Potashev <aspotashev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The die() message updated accordingly.
The previous behaviour was to only allow cloning when the destination
directory doesn't exist.
[jc: added trivial tests]
Signed-off-by: Alexander Potashev <aspotashev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c | diff | blob | history | |
dir.c | diff | blob | history | |
dir.h | diff | blob | history | |
t/t5601-clone.sh | diff | blob | history |