[Pkg-rust-maintainers] Git issues

Ximin Luo infinity0 at debian.org
Sat Mar 5 13:20:33 UTC 2016


Hi, the git history was messed up. I fixed it and did some force pushes. If you had the old messed up commits, the simplest way to fix your local repo is to re-clone it. Or, you can `git fetch --all` then do some more `git reset`s, exercise for the reader.

For the future I *strongly recommend* using `gitg` to see what you're actually doing to the history.

To check that I didn't back-door the source code, *in your old repo* you can check the commit-hash of the tag:

$ git cat-file -p upstream/1.7.0+dfsg1 # old tag part of the messed-up history
object 92b595d678ac58a33a506f34cffa0cc412152e20
[..snip..]
$ git cat-file -p 92b595d678ac58a33a506f34cffa0cc412152e20
tree 1a2eb47236c9b45f62a556b80f03e23d9087e401
[..snip..]

In the fixed updated repo that I just force-pushed:

$ git cat-file -p upstream/1.7.0+dfsg1 # new tag that I just force-pushed
object 9cc50fc6f5a9de25b3f33673e9f1b960df866413
[..snip..]
$ git cat-file -p 9cc50fc6f5a9de25b3f33673e9f1b960df866413
tree 1a2eb47236c9b45f62a556b80f03e23d9087e401
[..snip..]

The tree objects are the same, so assuming that I can't break SHA-1, then you can have confidence that I didn't back-door the source on top of what Sylvestre did previously.

(You should also review the extra changes in the "master" branch, but these are pretty trivial.)

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list