Change the prefix for builtin diff generation.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 04:53:36 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 04:53:36 +0000 (21:53 -0700)
It's silly, and it shouldn't matter, but every time I look at
the diffs, I ended up just worrying why "l/" and "k/" as the
prefixes.

Junio says it's a tribute to linux-kernel, but graciously also
said I can change it to something else. So make it "a/" and "b/"
until somebody else complains ;)

diff.c

diff --git a/diff.c b/diff.c
index 6511033..a4d2b2d 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -103,7 +103,7 @@ static void builtin_diff(const char *name,
                        path0[i] = "/dev/null";
                        path1[i] = "";
                } else {
-                       path0[i] = i ? "l/" : "k/";
+                       path0[i] = i ? "b/" : "a/";
                        path1[i] = name_sq;
                }
                cmd_size += (strlen(path0[i]) + strlen(path1[i]) +