Remove now unnecessary 'sync()' calls
commit54352bb2742cfbe53fa820eab53607a46d349ae4
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 May 2008 15:54:46 +0000 (30 08:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 May 2008 21:49:29 +0000 (31 14:49 -0700)
tree46cc41aa3259172b9314ad0ca81e5e7e837d1808
parent4c81b03e30d13dbc93ea7071438ef2da0acd4189
Remove now unnecessary 'sync()' calls

Since the pack-files are now always created stably on disk, there is no
need to sync() before pruning lose objects or old stale pack-files.

[jc: with Nico's clean-up]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
builtin-prune-packed.c
builtin-prune.c
git-repack.sh