Revision be66a6c43dcba42c56f66a8706721a76098f8e25 authored by Johannes Schindelin on 25 April 2009, 09:57:14 UTC, committed by Junio C Hamano on 25 April 2009, 16:49:21 UTC
It seems that accessing NTFS partitions with ufsd (at least on my EeePC)
has an unnerving bug: if you link() a file and unlink() it right away,
the target of the link() will have the correct size, but consist of NULs.

It seems as if the calls are simply not serialized correctly, as single-stepping
through the function move_temp_to_file() works flawlessly.

As ufsd is "Commertial software" (sic!), I cannot fix it, and have to work
around it in Git.

At the same time, it seems that this fixes msysGit issues 222 and 229 to
assume that Windows cannot handle link() && unlink().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 785a985
History
File Mode Size
howto
technical
.gitattributes -rw-r--r-- 17 bytes
.gitignore -rw-r--r-- 91 bytes
CodingGuidelines -rw-r--r-- 4.8 KB
Makefile -rw-r--r-- 8.8 KB
RelNotes-1.5.0.1.txt -rw-r--r-- 1.2 KB
RelNotes-1.5.0.2.txt -rw-r--r-- 2.3 KB
RelNotes-1.5.0.3.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.0.4.txt -rw-r--r-- 462 bytes
RelNotes-1.5.0.5.txt -rw-r--r-- 609 bytes
RelNotes-1.5.0.6.txt -rw-r--r-- 484 bytes
RelNotes-1.5.0.7.txt -rw-r--r-- 482 bytes
RelNotes-1.5.0.txt -rw-r--r-- 18.2 KB
RelNotes-1.5.1.1.txt -rw-r--r-- 2.1 KB
RelNotes-1.5.1.2.txt -rw-r--r-- 1.6 KB
RelNotes-1.5.1.3.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.1.4.txt -rw-r--r-- 843 bytes
RelNotes-1.5.1.5.txt -rw-r--r-- 1.4 KB
RelNotes-1.5.1.6.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.1.txt -rw-r--r-- 13.0 KB
RelNotes-1.5.2.1.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.2.2.txt -rw-r--r-- 2.0 KB
RelNotes-1.5.2.3.txt -rw-r--r-- 796 bytes
RelNotes-1.5.2.4.txt -rw-r--r-- 802 bytes
RelNotes-1.5.2.5.txt -rw-r--r-- 928 bytes
RelNotes-1.5.2.txt -rw-r--r-- 7.2 KB
RelNotes-1.5.3.1.txt -rw-r--r-- 326 bytes
RelNotes-1.5.3.2.txt -rw-r--r-- 1.9 KB
RelNotes-1.5.3.3.txt -rw-r--r-- 896 bytes
RelNotes-1.5.3.4.txt -rw-r--r-- 1.2 KB
RelNotes-1.5.3.5.txt -rw-r--r-- 3.3 KB
RelNotes-1.5.3.6.txt -rw-r--r-- 1.4 KB
RelNotes-1.5.3.7.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.3.8.txt -rw-r--r-- 783 bytes
RelNotes-1.5.3.txt -rw-r--r-- 13.7 KB
RelNotes-1.5.4.1.txt -rw-r--r-- 524 bytes
RelNotes-1.5.4.2.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.4.3.txt -rw-r--r-- 997 bytes
RelNotes-1.5.4.4.txt -rw-r--r-- 2.6 KB
RelNotes-1.5.4.5.txt -rw-r--r-- 2.2 KB
RelNotes-1.5.4.6.txt -rw-r--r-- 1.4 KB
RelNotes-1.5.4.7.txt -rw-r--r-- 342 bytes
RelNotes-1.5.4.txt -rw-r--r-- 14.1 KB
RelNotes-1.5.5.1.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.5.2.txt -rw-r--r-- 772 bytes
RelNotes-1.5.5.3.txt -rw-r--r-- 305 bytes
RelNotes-1.5.5.4.txt -rw-r--r-- 140 bytes
RelNotes-1.5.5.5.txt -rw-r--r-- 449 bytes
RelNotes-1.5.5.6.txt -rw-r--r-- 342 bytes
RelNotes-1.5.5.txt -rw-r--r-- 7.4 KB
RelNotes-1.5.6.1.txt -rw-r--r-- 793 bytes
RelNotes-1.5.6.2.txt -rw-r--r-- 1.4 KB
RelNotes-1.5.6.3.txt -rw-r--r-- 2.1 KB
RelNotes-1.5.6.4.txt -rw-r--r-- 1.5 KB
RelNotes-1.5.6.5.txt -rw-r--r-- 1.0 KB
RelNotes-1.5.6.6.txt -rw-r--r-- 342 bytes
RelNotes-1.5.6.txt -rw-r--r-- 3.8 KB
RelNotes-1.6.0.1.txt -rw-r--r-- 1.2 KB
RelNotes-1.6.0.2.txt -rw-r--r-- 2.9 KB
RelNotes-1.6.0.3.txt -rw-r--r-- 4.2 KB
RelNotes-1.6.0.4.txt -rw-r--r-- 1.3 KB
RelNotes-1.6.0.5.txt -rw-r--r-- 2.0 KB
RelNotes-1.6.0.6.txt -rw-r--r-- 1.2 KB
RelNotes-1.6.0.txt -rw-r--r-- 9.8 KB
RelNotes-1.6.1.1.txt -rw-r--r-- 1.9 KB
RelNotes-1.6.1.2.txt -rw-r--r-- 1.6 KB
RelNotes-1.6.1.3.txt -rw-r--r-- 900 bytes
RelNotes-1.6.1.4.txt -rw-r--r-- 537 bytes
RelNotes-1.6.1.txt -rw-r--r-- 10.2 KB
RelNotes-1.6.2.1.txt -rw-r--r-- 597 bytes
RelNotes-1.6.2.2.txt -rw-r--r-- 1.5 KB
RelNotes-1.6.2.3.txt -rw-r--r-- 781 bytes
RelNotes-1.6.2.4.txt -rw-r--r-- 1.3 KB
RelNotes-1.6.2.txt -rw-r--r-- 5.8 KB
RelNotes-1.6.3.txt -rw-r--r-- 6.5 KB
SubmittingPatches -rw-r--r-- 19.5 KB
asciidoc.conf -rw-r--r-- 2.2 KB
blame-options.txt -rw-r--r-- 3.5 KB
build-docdep.perl -rwxr-xr-x 968 bytes
cat-texi.perl -rwxr-xr-x 750 bytes
cmd-list.perl -rwxr-xr-x 1.4 KB
config.txt -rw-r--r-- 59.0 KB
diff-format.txt -rw-r--r-- 5.2 KB
diff-generate-patch.txt -rw-r--r-- 5.6 KB
diff-options.txt -rw-r--r-- 8.2 KB
docbook-xsl.css -rw-r--r-- 4.5 KB
docbook.xsl -rw-r--r-- 249 bytes
everyday.txt -rw-r--r-- 13.7 KB
fetch-options.txt -rw-r--r-- 1.9 KB
fix-texi.perl -rwxr-xr-x 309 bytes
git-add.txt -rw-r--r-- 8.9 KB
git-am.txt -rw-r--r-- 5.5 KB
git-annotate.txt -rw-r--r-- 807 bytes
git-apply.txt -rw-r--r-- 8.2 KB
git-archimport.txt -rw-r--r-- 4.0 KB
git-archive.txt -rw-r--r-- 3.8 KB
git-bisect.txt -rw-r--r-- 10.0 KB
git-blame.txt -rw-r--r-- 6.6 KB
git-branch.txt -rw-r--r-- 7.3 KB
git-bundle.txt -rw-r--r-- 7.1 KB
git-cat-file.txt -rw-r--r-- 2.8 KB
git-check-attr.txt -rw-r--r-- 2.3 KB
git-check-ref-format.txt -rw-r--r-- 2.2 KB
git-checkout-index.txt -rw-r--r-- 5.5 KB
git-checkout.txt -rw-r--r-- 8.3 KB
git-cherry-pick.txt -rw-r--r-- 2.5 KB
git-cherry.txt -rw-r--r-- 1.9 KB
git-citool.txt -rw-r--r-- 686 bytes
git-clean.txt -rw-r--r-- 1.4 KB
git-clone.txt -rw-r--r-- 6.4 KB
git-commit-tree.txt -rw-r--r-- 2.6 KB
git-commit.txt -rw-r--r-- 11.0 KB
git-config.txt -rw-r--r-- 9.8 KB
git-count-objects.txt -rw-r--r-- 818 bytes
git-cvsexportcommit.txt -rw-r--r-- 3.2 KB
git-cvsimport.txt -rw-r--r-- 6.9 KB
git-cvsserver.txt -rw-r--r-- 11.9 KB
git-daemon.txt -rw-r--r-- 10.1 KB
git-describe.txt -rw-r--r-- 5.0 KB
git-diff-files.txt -rw-r--r-- 1.4 KB
git-diff-index.txt -rw-r--r-- 4.7 KB
git-diff-tree.txt -rw-r--r-- 5.5 KB
git-diff.txt -rw-r--r-- 4.9 KB
git-difftool.txt -rw-r--r-- 3.0 KB
git-fast-export.txt -rw-r--r-- 3.7 KB
git-fast-import.txt -rw-r--r-- 43.3 KB
git-fetch-pack.txt -rw-r--r-- 2.8 KB
git-fetch.txt -rw-r--r-- 1.3 KB
git-filter-branch.txt -rw-r--r-- 15.4 KB
git-fmt-merge-msg.txt -rw-r--r-- 1.5 KB
git-for-each-ref.txt -rw-r--r-- 5.2 KB
git-format-patch.txt -rw-r--r-- 8.3 KB
git-fsck-objects.txt -rw-r--r-- 304 bytes
git-fsck.txt -rw-r--r-- 4.7 KB
git-gc.txt -rw-r--r-- 5.0 KB
git-get-tar-commit-id.txt -rw-r--r-- 901 bytes
git-grep.txt -rw-r--r-- 4.1 KB
git-gui.txt -rw-r--r-- 3.6 KB
git-hash-object.txt -rw-r--r-- 1.9 KB
git-help.txt -rw-r--r-- 5.9 KB
git-http-fetch.txt -rw-r--r-- 1.2 KB
git-http-push.txt -rw-r--r-- 3.0 KB
git-imap-send.txt -rw-r--r-- 3.4 KB
git-index-pack.txt -rw-r--r-- 3.2 KB
git-init-db.txt -rw-r--r-- 319 bytes
git-init.txt -rw-r--r-- 4.3 KB
git-instaweb.txt -rw-r--r-- 2.3 KB
git-log.txt -rw-r--r-- 2.9 KB
git-lost-found.txt -rw-r--r-- 1.8 KB
git-ls-files.txt -rw-r--r-- 5.6 KB
git-ls-remote.txt -rw-r--r-- 2.2 KB
git-ls-tree.txt -rw-r--r-- 3.1 KB
git-mailinfo.txt -rw-r--r-- 1.9 KB
git-mailsplit.txt -rw-r--r-- 1.3 KB
git-merge-base.txt -rw-r--r-- 2.7 KB
git-merge-file.txt -rw-r--r-- 2.5 KB
git-merge-index.txt -rw-r--r-- 2.6 KB
git-merge-one-file.txt -rw-r--r-- 626 bytes
git-merge-tree.txt -rw-r--r-- 904 bytes
git-merge.txt -rw-r--r-- 8.1 KB
git-mergetool--lib.txt -rw-r--r-- 1.3 KB
git-mergetool.txt -rw-r--r-- 2.8 KB
git-mktag.txt -rw-r--r-- 977 bytes
git-mktree.txt -rw-r--r-- 611 bytes
git-mv.txt -rw-r--r-- 1.4 KB
git-name-rev.txt -rw-r--r-- 1.8 KB
git-pack-objects.txt -rw-r--r-- 7.8 KB
git-pack-redundant.txt -rw-r--r-- 1.3 KB
git-pack-refs.txt -rw-r--r-- 1.9 KB
git-parse-remote.txt -rw-r--r-- 1.3 KB
git-patch-id.txt -rw-r--r-- 1.1 KB
git-peek-remote.txt -rw-r--r-- 1.2 KB
git-prune-packed.txt -rw-r--r-- 1.0 KB
git-prune.txt -rw-r--r-- 1.9 KB
git-pull.txt -rw-r--r-- 6.2 KB
git-push.txt -rw-r--r-- 9.6 KB
git-quiltimport.txt -rw-r--r-- 1.5 KB
git-read-tree.txt -rw-r--r-- 14.3 KB
git-rebase.txt -rw-r--r-- 17.1 KB
git-receive-pack.txt -rw-r--r-- 5.6 KB
git-reflog.txt -rw-r--r-- 3.3 KB
git-relink.txt -rw-r--r-- 812 bytes
git-remote.txt -rw-r--r-- 5.3 KB
git-repack.txt -rw-r--r-- 4.2 KB
git-repo-config.txt -rw-r--r-- 274 bytes
git-request-pull.txt -rw-r--r-- 695 bytes
git-rerere.txt -rw-r--r-- 7.1 KB
git-reset.txt -rw-r--r-- 7.6 KB
git-rev-list.txt -rw-r--r-- 3.1 KB
git-rev-parse.txt -rw-r--r-- 14.4 KB
git-revert.txt -rw-r--r-- 2.8 KB
git-rm.txt -rw-r--r-- 3.3 KB
git-send-email.txt -rw-r--r-- 10.0 KB
git-send-pack.txt -rw-r--r-- 3.7 KB
git-sh-setup.txt -rw-r--r-- 2.1 KB
git-shell.txt -rw-r--r-- 887 bytes
git-shortlog.txt -rw-r--r-- 1.5 KB
git-show-branch.txt -rw-r--r-- 5.8 KB
git-show-index.txt -rw-r--r-- 593 bytes
git-show-ref.txt -rw-r--r-- 5.6 KB
git-show.txt -rw-r--r-- 1.8 KB
git-stage.txt -rw-r--r-- 258 bytes
git-stash.txt -rw-r--r-- 7.8 KB
git-status.txt -rw-r--r-- 2.2 KB
git-stripspace.txt -rw-r--r-- 598 bytes
git-submodule.txt -rw-r--r-- 7.9 KB
git-svn.txt -rw-r--r-- 24.9 KB
git-symbolic-ref.txt -rw-r--r-- 1.9 KB
git-tag.txt -rw-r--r-- 8.1 KB
git-tar-tree.txt -rw-r--r-- 2.5 KB
git-tools.txt -rw-r--r-- 3.4 KB
git-unpack-file.txt -rw-r--r-- 604 bytes
git-unpack-objects.txt -rw-r--r-- 1.2 KB
git-update-index.txt -rw-r--r-- 11.5 KB
git-update-ref.txt -rw-r--r-- 3.1 KB
git-update-server-info.txt -rw-r--r-- 914 bytes
git-upload-archive.txt -rw-r--r-- 753 bytes
git-upload-pack.txt -rw-r--r-- 941 bytes
git-var.txt -rw-r--r-- 1.3 KB
git-verify-pack.txt -rw-r--r-- 979 bytes
git-verify-tag.txt -rw-r--r-- 531 bytes
git-web--browse.txt -rw-r--r-- 3.5 KB
git-whatchanged.txt -rw-r--r-- 1.8 KB
git-write-tree.txt -rw-r--r-- 1.1 KB
git.txt -rw-r--r-- 20.3 KB
gitattributes.txt -rw-r--r-- 21.1 KB
gitcli.txt -rw-r--r-- 6.3 KB
gitcore-tutorial.txt -rw-r--r-- 61.9 KB
gitcvs-migration.txt -rw-r--r-- 7.4 KB
gitdiffcore.txt -rw-r--r-- 10.8 KB
gitglossary.txt -rw-r--r-- 369 bytes
githooks.txt -rw-r--r-- 10.9 KB
gitignore.txt -rw-r--r-- 5.1 KB
gitk.txt -rw-r--r-- 3.4 KB
gitmodules.txt -rw-r--r-- 1.4 KB
gitrepository-layout.txt -rw-r--r-- 7.2 KB
gittutorial-2.txt -rw-r--r-- 14.4 KB
gittutorial.txt -rw-r--r-- 22.2 KB
gitworkflows.txt -rw-r--r-- 12.9 KB
glossary-content.txt -rw-r--r-- 19.8 KB
howto-index.sh -rwxr-xr-x 669 bytes
i18n.txt -rw-r--r-- 2.2 KB
install-doc-quick.sh -rwxr-xr-x 724 bytes
install-webdoc.sh -rwxr-xr-x 764 bytes
mailmap.txt -rw-r--r-- 2.3 KB
manpage-1.72.xsl -rw-r--r-- 510 bytes
manpage-base.xsl -rw-r--r-- 1.2 KB
manpage-bold-literal.xsl -rw-r--r-- 578 bytes
manpage-normal.xsl -rw-r--r-- 475 bytes
manpage-suppress-sp.xsl -rw-r--r-- 737 bytes
merge-config.txt -rw-r--r-- 2.0 KB
merge-options.txt -rw-r--r-- 1.9 KB
merge-strategies.txt -rw-r--r-- 1.6 KB
pretty-formats.txt -rw-r--r-- 4.5 KB
pretty-options.txt -rw-r--r-- 1.1 KB
pull-fetch-param.txt -rw-r--r-- 3.0 KB
rev-list-options.txt -rw-r--r-- 19.3 KB
urls-remotes.txt -rw-r--r-- 2.3 KB
urls.txt -rw-r--r-- 2.4 KB
user-manual.conf -rw-r--r-- 413 bytes
user-manual.txt -rw-r--r-- 166.0 KB

back to top