From: Linus Torvalds Date: Mon, 2 May 2005 04:53:36 +0000 (-0700) Subject: Change the prefix for builtin diff generation. X-Git-Tag: v0.99~660 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0980d9b3a51d48ed2b1b7d64c0da8a49b552904e;p=git.git Change the prefix for builtin diff generation. 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 --git a/diff.c b/diff.c index 65110333f..a4d2b2d72 100644 --- 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]) +