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 ;)
This commit is contained in:
Linus Torvalds 2005-05-01 21:53:36 -07:00
parent bab5583a49
commit 0980d9b3a5

2
diff.c
View File

@ -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]) +