Skip to content

Commit

Permalink
Change the prefix for builtin diff generation.
Browse files Browse the repository at this point in the history
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 ;)
  • Loading branch information
Linus Torvalds committed May 2, 2005
1 parent bab5583 commit 0980d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]) +
Expand Down

0 comments on commit 0980d9b

Please sign in to comment.