Displaying 3 results from an estimated 3 matches for "8b0fda0".
2014 Dec 15
2
(no subject)
Hi,
I noticed the diff wasn't showing the "-" at the start of a deleted file
and the details of the second file when attributes are different.
This change should fix them.
thanks.
2014 Dec 15
0
[PATCH] diff/diff.c: diff output to show correct file handles and presence symbol
---
diff/diff.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diff/diff.c b/diff/diff.c
index 8b0fda0..6a374af 100644
--- a/diff/diff.c
+++ b/diff/diff.c
@@ -608,7 +608,7 @@ static void
deleted (guestfs_h *g, struct file *file)
{
output_start_line ();
- output_string ("+");
+ output_string ("-");
output_file (g, file);
output_end_line ();
}
@@ -669,7 +669,7 @@ chan...
2014 Nov 26
5
[PATCH] tools: implement --short-options
...;short-options"))
+ display_short_options (options);
else if (STREQ (long_options[option_index].name, "format")) {
OPTION_format;
} else if (STREQ (long_options[option_index].name, "csv")) {
diff --git a/diff/diff.c b/diff/diff.c
index b113f29..8b0fda0 100644
--- a/diff/diff.c
+++ b/diff/diff.c
@@ -167,6 +167,7 @@ main (int argc, char *argv[])
{ "help", 0, 0, HELP_OPTION },
{ "human-readable", 0, 0, 'h' },
{ "keys-from-stdin", 0, 0, 0 },
+ { "short-options", 0, 0, 0 },
{ "...