diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-30 17:54:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-31 23:49:29 +0200 |
commit | 54352bb2742cfbe53fa820eab53607a46d349ae4 (patch) | |
tree | 46cc41aa3259172b9314ad0ca81e5e7e837d1808 /git-repack.sh | |
parent | Make pack creation always fsync() the result (diff) | |
download | git-54352bb2742cfbe53fa820eab53607a46d349ae4.tar.xz git-54352bb2742cfbe53fa820eab53607a46d349ae4.zip |
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>
Diffstat (limited to 'git-repack.sh')
-rwxr-xr-x | git-repack.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git-repack.sh b/git-repack.sh index 10f735cff5..072d1b40f7 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -125,7 +125,6 @@ then # We know $existing are all redundant. if [ -n "$existing" ] then - sync ( cd "$PACKDIR" && for e in $existing do |