]> err.no Git - systemd/commitdiff
delta: don't highlight unchanged files
authorLennart Poettering <lennart@poettering.net>
Mon, 21 May 2012 00:02:31 +0000 (02:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 May 2012 00:02:31 +0000 (02:02 +0200)
src/delta/delta.c

index 0a29d32cc48fcd81fa0abf5f0735d4f045bd0e6c..cb63b4a407d968a85ae9618e11fa5e541347e48a 100644 (file)
@@ -103,7 +103,7 @@ static int notify_override_unchanged(const char *f) {
         if (!(arg_flags & SHOW_UNCHANGED))
                 return 0;
 
-        printf(ANSI_HIGHLIGHT_ON "[UNCHANGED]" ANSI_HIGHLIGHT_OFF "  %s → %s\n", top, bottom);
+        printf("[UNCHANGED]  %s\n", f);
         return 1;
 }