Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2023 06:25:26 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Greg 'groggy' Lehey <grog@freebsd.org>, Zhenlei Huang <zlei@freebsd.org>, Cheng Cui <cc@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@freebsd.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@freebsd.org>, tuexen@freebsd.org
Subject:   Re: git: fcad8ada9afc - main - Revert "Add myself (cc) as a src  commiter."
Message-ID:  <20230403132526.794B51DE@slippy.cwsent.com>
In-Reply-To: <ZCqwcD2s/4eHgbli@FreeBSD.org>
References:  <202303311358.32VDwPUA083636@gitrepo.freebsd.org>  <F1399D0C-63E7-4DE1-BC8E-374DBBA000E3@FreeBSD.org>  <CAGaXuiKwP2xczqFTBQc8ukZHuEPzUSy43jUUUqYT=tds6FKPaw@mail.gmail.com>  <B07967EE-A792-4E76-84D6-6D22C4E23B89@FreeBSD.org>  <20230403073204.GF89483@eureka.lemis.com> <ZCqwcD2s/4eHgbli@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <ZCqwcD2s/4eHgbli@FreeBSD.org>, Alexey Dokuchaev writes:
> On Mon, Apr 03, 2023 at 05:32:04PM +1000, Greg 'groggy' Lehey wrote:
> > On Monday,  3 April 2023 at 14:45:03 +0800, Zhenlei Huang wrote:
> > >> On Apr 2, 2023, at 12:27 AM, Cheng Cui <cc@freebsd.org> wrote:
> > >>
> > >> Thanks for the concern. It was a mistake that placed my name in the
> > >> wrong place.  The correct change is in 95940a2d2442.
> > >
> > > I think this is an impressive start as a committer ;)
> > 
> > By far not the worst.  My first commit was not quite 25 years ago, on
> > 15 September 1998, and it included:
> > 
> >  *   N src/lkm/vinum/emacs.core
> > 
> > For those youngsters who don't remember CVS, the N means "new file in
> > repo".
> > 
> > More details at http://www.lemis.com/grog/diary-sep1998.php#16
> > 
> > [quoting the above diary entry]
> > 
> >   [...]
> >   typing the commit message into an Emacs window, the Emacs crashed.
>
> That's why one should always prepare commit message first, then pass
> it via -F option.
>
> >   Peter was one of the few people allowed to physically remove anything
> >   from the repository, and he did so.
>
> Ah, don't we all miss CVS for that.  Repocopies were also done with this
> type of surgery, and that was annoying, but being able to prune those
> accidentally committed blobs wins it for me (or rather did back in those
> times ;-).

I recall doing that king of CVS surgery at $JOB at the time. And I use the 
term surgery very loosely. It was a hack.

Check out the deve/git-filter-repo port. It allows you to rewrite history 
from years ago as if those commits were never made. I used it to rewrite 
telnet and ftp from the FreeBSD repo into their own repos, as if they were 
the only things in the repo from the beginning. The real trick is to reduce 
the size of the repo from its GB to MB or even KB if possible.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230403132526.794B51DE>