Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2021 11:08:48 +0000
From:      Pete French <petefrench@ingresso.co.uk>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   How to handle the pack files now we have switched to git?
Message-ID:  <22d067ae-c204-0dc5-4195-2d1c07f35560@ingresso.co.uk>

next in thread | raw e-mail | index | archive | help
So, for me the switch to git went very smoothly. I havent moved to 
etcupdate yet, but will probably do that soon. Hopwever I did hit one 
issue. What I do is to build on a single machine, and then send that to 
a number of places using rsync.

But what seems to happen wuth git is that it has a big pack file of 
objects, and the name of the opack file is the SHA1 of whatever is 
inside it. So if something chnages then the filename chnages - and thus 
rsync tries to move the entire lot all over again, even if the change is 
tiny.

Does anyone have a solution to this ? Currently I am telling rsync to 
ignore .git when it sends the source, but am not entirely happy with that.

But apart from that, git works fine ;)

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22d067ae-c204-0dc5-4195-2d1c07f35560>