Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes: > It's not that the old output is "useful" in itself, but it's important for > people to know that the index is clean. So I'd suggest just setting a flag > when the header isn't printed, and then printing out a single line at the > end about "git index not up-to-date" or something. That's essentially the patch I sent out in another thread allows you to do, and some of these people even Acked them, but there is one minor issue. "git diff" output is paged, and that "not up to date" warning, if it is given to stderr, would not be usually seen. > Doing a "git diff" cannot actually update the index (since it very much > has to work on a read-only setup too), which is why the index _stays_ > stale unless something is done (eg "git status") to refresh it. And it's > that stale index that continues to make for bad performance without any > indication of why that is a problem. Indeed. At least, I am now glad to know that somebody else is of the same opinion as I am. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html