[ostree] core: Ensure correct file data is synced in non-overwrite case



commit bdbf76b6eb8d2ee8c75ba9c6887cae1d5bf986d2
Author: Colin Walters <walters verbum org>
Date:   Mon Oct 15 18:35:54 2012 -0400

    core: Ensure correct file data is synced in non-overwrite case

 src/libostree/ostree-repo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index a5ee16b..b620053 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -3180,7 +3180,7 @@ checkout_file_from_input (GFile          *file,
 
       if (g_file_info_get_file_type (temp_info) == G_FILE_TYPE_REGULAR)
         {
-          if (!ensure_file_data_synced (temp_file, cancellable, error))
+          if (!ensure_file_data_synced (file, cancellable, error))
             goto out;
         }
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]