"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: regress for got diff -d + minor fix
To:
Mark Jamsek <mark@jamsek.com>
Cc:
Game of Trees <gameoftrees@openbsd.org>
Date:
Tue, 10 Jan 2023 10:32:31 +0100

Download raw body.

Thread
On Tue, Jan 10, 2023 at 08:15:04PM +1100, Mark Jamsek wrote:
> The below diff adds a couple tests for 'got diff -d'. And they already
> picked up an edge case: if we specify paths to diff in a worktree for
> a commit in which one of the paths was deleted, diff_paths() passes
> "/dev/null" to got_diff_blob_output_unidiff() for the deleted path
> (i.e., label2).

Nice catch.  ok stsp