[ostree] diff: Fix case when used on native files



commit a8764bf9967fe482c28ce32a00d10f4b661e800c
Author: Colin Walters <walters verbum org>
Date:   Sun Sep 23 15:55:02 2012 -0400

    diff: Fix case when used on native files

 src/ostree/ot-builtin-diff.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c
index 3762968..d3bd17c 100644
--- a/src/ostree/ot-builtin-diff.c
+++ b/src/ostree/ot-builtin-diff.c
@@ -122,7 +122,7 @@ ostree_builtin_diff (int argc, char **argv, GFile *repo_path, GError **error)
   if (!ostree_diff_dirs (srcf, targetf, modified, removed, added, cancellable, error))
     goto out;
 
-  ostree_diff_print (srcf, modified, removed, added);
+  ostree_diff_print (targetf, modified, removed, added);
 
   ret = TRUE;
  out:



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