summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_-r_--abbrev=4_initial
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/t4013/diff.diff-tree_-r_--abbrev=4_initial
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/t4013/diff.diff-tree_-r_--abbrev=4_initial')
0 files changed, 0 insertions, 0 deletions