diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-30 08:54:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-31 14:49:29 -0700 |
commit | 54352bb2742cfbe53fa820eab53607a46d349ae4 (patch) | |
tree | 46cc41aa3259172b9314ad0ca81e5e7e837d1808 /builtin-prune-packed.c | |
parent | 4c81b03e30d13dbc93ea7071438ef2da0acd4189 (diff) | |
download | git-54352bb2742cfbe53fa820eab53607a46d349ae4.tar.gz |
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 'builtin-prune-packed.c')
-rw-r--r-- | builtin-prune-packed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c index 23faf3129f..241afbbab5 100644 --- a/builtin-prune-packed.c +++ b/builtin-prune-packed.c @@ -85,7 +85,6 @@ int cmd_prune_packed(int argc, const char **argv, const char *prefix) /* Handle arguments here .. */ usage(prune_packed_usage); } - sync(); prune_packed_objects(opts); return 0; } |