Re: Moving to Github ... ?

Guillermo Rodriguez Garcia via busybox <[email protected]> Thu, 7 May 2026 21:43:08 +0200
Newsgroups gmane.linux.busybox
Message-ID <CABDcavbWxQHAiTy9TpsvuRArMNoYSFbqLXDAsfHYFHNYE4c+OA@mail.gmail.com>
El jue, 7 may 2026 a las 21:38, Hans Ulli Kroll
(<[email protected]>) escribió:
>
> On Thu, 2026-05-07 at 21:25 +0200, Guillermo Rodriguez Garcia via
> busybox wrote:
> > El jue, 7 may 2026 a las 21:07, Michael D. Setzer II
> > (<[email protected]>) escribió:
> > >
> > > On 7 May 2026 at 20:49, Guillermo Rodriguez Garcia wrote:
> > > From: Guillermo Rodriguez Garcia <[email protected]>
> > > Date sent: Thu, 7 May 2026 20:49:13 +0200
> > > Subject: Re: Moving to Github ... ?
> > > To: [email protected]
> > > Copies to: Sam Thursfield via busybox <[email protected]>
> > > >
> > > > Hi Michael,
> > > > El El jue, 7 may 2026 a las 19:05, Michael D. Setzer II via busybox
> > > > <[email protected]> escribió:
> > > > On 7 May 2026 at 16:09, Sam Thursfield via busybox wrote:
> > > >
> > > > Date sent:Thu, 7 May 2026 16:09:20 +0200
> > > > To:[email protected]
> > > > Subject:Moving to Github ... ?
> > > > From:Sam Thursfield via busybox <[email protected]>
> > > > Send reply to:Sam Thursfield <[email protected]>
> > > >
> > > > > Hi all,
> > > > >
> > > > > I notice the busybox.net "Browse Source" website switched to
> > > > > https://github.com/vda-linux/busybox_mirror. Is it worth treating that
> > > > > as the canonical location for now?
> > > > >
> > > > > I can see a couple of previous threads about issues with the
> > > > busybox.net
> > > > > Git hosting, I'm guessing this the same infrastructure abuse that
> > > > most
> > > > > open source projects have been seeing recently.. my commiserations
> > > > that
> > > > > you're having to deal with this :/
> > > > >
> > > > > * "busybox authoritative git repository (was: AI recommended
> > > > changing
> > > > > from using git port to https?)"
> > > > > (https://lists.busybox.net/pipermail/busybox/2026-April/092059.html )
> > > > > * "Not clear what is going on with site and git."
> > > > > (https://lists.busybox.net/pipermail/busybox/2026-March/091970.html
> > > > )
> > > > >
> > > >
> > > > Just did a git pull on busybox.net and git-clone on busybox mrror site.
> > > > These are the differences I got.
> > > >
> > > > diff -r ./.git/config /home/msetzerii/Downloads/busybox/.git/config
> > > >
> > > > As discussed several times, it makes no sense to diff the .git directories.
> > > > This is not the proper way to compare git trees, and just adds noise.
> > > >
> > > Then what is this Magical Correct Way to correctly compare the two trees??
> > > I can download the two trees, and then use diff to compare them. If there is a command that will do it better, I would like to know?
> >
> > There are many ways to do that. Assuming you have already cloned one
> > repository locally, you can add the second server as a remote, then
> > compare using git diff:
> >
> > cd your-existing-repo
> > git fetch
> > git remote add mirror [email protected]:vda-linux/busybox_mirror.git
> > git fetch mirror
> > git diff master mirror/master
> >
>
> Why so complicated ?
> You need only the SHA1 HEAD

Looking at the commit hashes can only give you a binary response:
either the two repos are identical (latest commit is the same one in
both) or not.

I was replying to the more general question of "how to compare two git trees".

Anyway as I said there are many ways to do this.

Best regards,

Guillermo Rodriguez Garcia
[email protected]
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox