git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] intersect_paths: respect mode in git's tree-sort

From
Jeff King <peff@peff.net>
Date
Aug 20, 2014, 03:35 UTC
Message-ID
<20140820033539.GA2773@peff.net>
In-Reply-To
<20140820021428.GA22266@peff.net>
On Tue, Aug 19, 2014 at 10:14:30PM -0400, Jeff King wrote:
Show 11 quoted lines
> diff --git a/t/t4038-diff-combined.sh b/t/t4038-diff-combined.sh
> index 1019d7b..71a664d 100755
> --- a/t/t4038-diff-combined.sh
> +++ b/t/t4038-diff-combined.sh
> @@ -401,4 +401,38 @@ test_expect_success 'combine diff missing delete bug' '
>  	compare_diff_patch expected actual
>  '
>  
> +test_expect_success 'combine diff gets tree sorting right' '
> +	# create a directory and a file that sort differently in trees
> +	# versus byte-wise (implied "/" sorts ".")
This should be s/sorts/& after/, of course.
-Peff
Previous: Jeff KingNext: Junio C Hamano
Message 2 of 3 in “intersect_paths: respect mode in git's tree-sort”
  1. intersect_paths: respect mode in git's tree-sortJeff King, Aug 20, 2014
  2. Jeff KingAug 20, 2014
  3. Junio C HamanoAug 20, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.