diff options
author | Clemens Buchacher <drizzd@aon.at> | 2011-02-20 13:13:43 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-21 22:51:07 -0800 |
commit | 1d718a5108f905e3c64f9fa791e67a52bd926457 (patch) | |
tree | 9871ac56854e4a1e983e390cd2c9f3a24beb0921 /t/t9130-git-svn-authors-file.sh | |
parent | Demonstrate breakage: checkout overwrites untracked symlink with directory (diff) | |
download | tgif-1d718a5108f905e3c64f9fa791e67a52bd926457.tar.xz |
do not overwrite untracked symlinks
Git traditionally overwrites untracked symlinks silently. This will
generally not cause massive data loss, but it is inconsistent with
the behavior for regular files, which are not silently overwritten.
With this change, git refuses to overwrite untracked symlinks by
default. If the user really wants to overwrite the untracked
symlink, he has git-clean and git-checkout -f at his disposal.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9130-git-svn-authors-file.sh')
0 files changed, 0 insertions, 0 deletions