Re: Fastest way to set files date and time to latest commit time of each one
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 29, 2020, 04:59 UTC
- Message-ID
- <C597RQ1V1DCG.3EEXY0665KK35@ziyou.local>
- In-Reply-To
- <xmqq8sdym93d.fsf@gitster.c.googlers.com>
On Fri Aug 28, 2020 at 11:20 PM EDT, Junio C Hamano wrote:
Show 7 quoted lines
> - The source of the rsync transfer is a git working tree. It often > has the checkout of the latest and greatest version, but during > development, it may switch to older commit (e.g. to find where > regression occurred) or not-yet-ready commit (e.g. work in > progress that is not given to upstream). You check out the > version you want to sync to the destination before initiating > rsync.
Assuming this is the case, perhaps a separate worktree that you touch less often being the source for rsync might save rsync some bandwidth/cpu checking things.