summaryrefslogtreecommitdiff
path: root/t/t6110-rev-list-sparse.sh
diff options
context:
space:
mode:
authorLibravatar Clemens Buchacher <drizzd@aon.at>2011-02-20 13:13:43 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-21 22:51:07 -0800
commit1d718a5108f905e3c64f9fa791e67a52bd926457 (patch)
tree9871ac56854e4a1e983e390cd2c9f3a24beb0921 /t/t6110-rev-list-sparse.sh
parentDemonstrate breakage: checkout overwrites untracked symlink with directory (diff)
downloadtgif-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/t6110-rev-list-sparse.sh')
0 files changed, 0 insertions, 0 deletions