Revision 2408cff9f738459019709c8c12d0bd8a5605566f authored by Linus Torvalds on 14 July 2005, 00:27:48 UTC, committed by Linus Torvalds on 14 July 2005, 00:27:48 UTC
We should always have unlinked any old ones before, but this just makes
sure that we never over-write any old file.

A quick "grep" now shows that all the core tools that open files for
writing use O_EXCL, ie we never overwrite an existing file in place.
1 parent 1b66834
History
File Mode Size
t4100
Makefile -rw-r--r-- 243 bytes
README -rw-r--r-- 6.6 KB
diff-lib.sh -rw-r--r-- 1.3 KB
lib-read-tree-m-3way.sh -rw-r--r-- 4.1 KB
t0000-basic.sh -rwxr-xr-x 6.9 KB
t0100-environment-names.sh -rwxr-xr-x 2.2 KB
t0110-environment-names-old.sh -rwxr-xr-x 3.7 KB
t1000-read-tree-m-3way.sh -rwxr-xr-x 17.0 KB
t1001-read-tree-m-2way.sh -rwxr-xr-x 10.2 KB
t1002-read-tree-m-u-2way.sh -rwxr-xr-x 9.7 KB
t1005-read-tree-m-2way-emu23.sh -rw-r--r-- 12.9 KB
t1100-commit-tree-options.sh -rw-r--r-- 1.1 KB
t2000-checkout-cache-clash.sh -rwxr-xr-x 1.2 KB
t2001-checkout-cache-clash.sh -rwxr-xr-x 2.4 KB
t2002-checkout-cache-u.sh -rwxr-xr-x 740 bytes
t2003-checkout-cache-mkdir.sh -rw-r--r-- 2.5 KB
t2100-update-cache-badpath.sh -rwxr-xr-x 1.0 KB
t3000-ls-files-others.sh -rwxr-xr-x 640 bytes
t3010-ls-files-killed.sh -rwxr-xr-x 1.3 KB
t3100-ls-tree-restrict.sh -rw-r--r-- 2.9 KB
t4000-diff-format.sh -rwxr-xr-x 1.1 KB
t4001-diff-rename.sh -rwxr-xr-x 1.0 KB
t4002-diff-basic.sh -rw-r--r-- 14.5 KB
t4003-diff-rename-1.sh -rw-r--r-- 4.0 KB
t4004-diff-rename-symlink.sh -rw-r--r-- 1.5 KB
t4005-diff-rename-2.sh -rw-r--r-- 5.3 KB
t4006-diff-mode.sh -rw-r--r-- 684 bytes
t4007-rename-3.sh -rw-r--r-- 2.7 KB
t4008-diff-break-rewrite.sh -rw-r--r-- 5.9 KB
t4009-diff-rename-4.sh -rw-r--r-- 5.3 KB
t4010-diff-pathspec.sh -rw-r--r-- 1.7 KB
t4100-apply-stat.sh -rw-r--r-- 1.2 KB
t5000-tar-tree.sh -rw-r--r-- 2.5 KB
t5300-pack-object.sh -rwxr-xr-x 3.9 KB
t6000lib.sh -rw-r--r-- 2.5 KB
t6001-rev-list-merge-order.sh -rwxr-xr-x 9.9 KB
t6002-rev-list-bisect.sh -rwxr-xr-x 8.1 KB
t6003-rev-list-topo-order.sh -rwxr-xr-x 8.5 KB
test-lib.sh -rwxr-xr-x 2.9 KB

README

back to top