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

Re: [PATCH] t1410: check files and missing paths after reflog rewind

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 11, 2026, 18:41 UTC
Message-ID
<xmqqh5ssouub.fsf@gitster.g>
In-Reply-To
<20260111140417.36274-1-pushkarkumarsingh1970@gmail.com>
Pushkar Singh <pushkarkumarsingh1970@gmail.com> writes:
> Subject: [PATCH] t1410: check files and missing paths after reflog rewind

That sounds as if the original did not check these things after "reflog rewind" and this patch is about correcting it, doesn't it?

That is a bit different from what is really happening in this patch.
> Replace raw `test -f` and `! test -f` checks in the rewind test with
> `test_path_is_file` and `test_path_is_missing`. This provides clearer
> failure diagnostics and keeps the test consistent with the rest of
> the test suite.
On the other hand, this describes what the patch does nicely.
Previous: Pushkar SinghNext: Pushkar Singh
Message 2 of 3 in “t1410: check files and missing paths after reflog rewind”
  1. t1410: check files and missing paths after reflog rewindPushkar Singh, Jan 11, 2026
  2. Junio C HamanoJan 11, 2026
  3. t1410: use test helpers in reflog rewind testPushkar Singh, Jan 11, 2026

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.