aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 21:53:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 21:53:36 -0700
commit0980d9b3a51d48ed2b1b7d64c0da8a49b552904e (patch)
treedc17001f76741218d98ec7801a65674a76828b6e /diff.c
parentbab5583a49bff27c53f9ab22489b7faae21f607d (diff)
downloadgit-0980d9b3a51d48ed2b1b7d64c0da8a49b552904e.tar.gz
git-0980d9b3a51d48ed2b1b7d64c0da8a49b552904e.tar.xz
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 ;)
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
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]) +