Subject: Re: [PATCH 1/4] packed-backend: skip checking consistency of empty packed-refs file

From: Junio C Hamano <[email-masked]>
Date: Tue, 06 May 2025 11:42:37 -0700

shejialuo <[email-masked]> writes:

> +		touch .git/packed-refs &&

Unless you want to signal your readers that you care about file
timestamp somehow, don't use "touch" as a means to create a file.
Readers would have to wonder if .git/packed-refs existed before,
or what git command that follows this part cares about its last
modified time, or what behaviour the timestamp would affect.

What you are interested in doing with this is to ensure that *AN*
*EMPTY* file exists there, hence you should say

		>.git/packed-refs &&

instread.