Subject: Re: Hash for a commit sourcetree beside to a commit hash

From: Andry <[email-masked]>
Date: Sun, 26 Feb 2023 12:37:30 +0300

Hello Git,

Friday, February 3, 2023, 4:28:37 AM, you wrote:

A> Is there a chance to add this property to a commit and a set of commands, for example, to search a commit by a sourcetree hash?

And another interesting ability of such hash. It could optimize upload/download of objects, for example, after commits rewrite when non sourcetree change happens.
For example, user email and name is changed. Currently git retransfers all objects to the remote repository on the push. In case of new hash there is won't be a need to retransfer the sourcetree if it didn't change.