From: Christian Weisgerber Subject: Re: File ordering of log -P vs. log -p To: gameoftrees@openbsd.org Date: Mon, 20 Dec 2021 16:30:48 +0100 Stefan Sperling: > The -P list is sorted by path, and paths in the diff appear as a > result of a tree walk. To make the -P case the same we can append > paths to the -P list instead of using the smarter insert method > that tries to keep paths in sorted order. > > Try the patch below. Regression tests are still passing. > got log -P output for commit b5cf4b705436 changes like this: Yes, with this got log and tog's diff view show the paths in the list and in the diff in the same order. I think this is less confusing than the old behavior. -- Christian "naddy" Weisgerber naddy@mips.inka.de