[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Include git commit id and git tree id in *.changes files when uploading?



[ trimming Cc list, Bcc to you ]

On Fri, Dec 19, 2025 at 02:17:57PM +0100, Daniel Gröber wrote:

> On Tue, Dec 16, 2025 at 09:39:31AM +0100, Santiago Vila wrote:
> > > [...] have more git info in the changes file [...]
> > 
> > Your proposal would prevent lost git histories to be reconstructed
> > and wrong git histories to be fixed.
> 
> I don't quite see how this would prevent anything. Perhaps we should think
> of this proposal more as a divergence monitoring system?

Divergence between the archive and the git repositories is my usual
concern, that's why I often try to add missing commits here and there.

> I don't 100% understand your use case yet, can you maybe show more clearly
> what you mean? The linked repo doesn't have any commits by you that I saw.

I just did the last commit, but I also set the authorship of the commit to
the real author.

Salsa shows this information in the web interface, you have to look closer:

Update changelog for version 1.0.4-1
Andreas Tille authored 3 months ago and Santiago Vila committed 3 months ago

If you clone the repository, you need to do this to see both the author
and the committer:

git show --format=fuller

(Note that I also use git options --author and --date because I'm
trying to reconstruct history as if the final commit had been done by
the author).

If the author had uploaded this with a *.changes file including his
commit-id, there would be a mismatch between such commit-id and the
one I added on my own. I don't think it would be a good thing that
me trying to recover missing commits would be flagged as an error.

Thanks.


Reply to: