git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: upgrading GIT from version 1.7.0.4 to 1.7.6.1.

From
Andreas Ericsson <ae@op5.se>
Date
Sep 19, 2011, 12:49 UTC
Message-ID
<4E773A71.6020905@op5.se>
In-Reply-To
<1316435430491-6808156.post@n2.nabble.com>
On 09/19/2011 02:30 PM, Mikaël wrote:
> 
> 1- Is it possible to have two GIT installations pointing on the same 
> repositories?
> 

The core structure and layout of a git repository hasn't changed since may 2005, so it should work just fine provided you use any git version that actually has a version number.

We've upgraded in a hodge-podge fashion at $dayjob. One of our servers is still running 1.4.something. We've never even come close to anything resembling a problem. It's actually a bit weird, since we started using git in late 2005 and it's so far been the most reliable and backwards-compatible piece of software we have in the company pretty much ever since.

> 
> 2- Do you have any suggestions, trips, hints and best practices in
> order to upgrade GIT in such a context?
> 

Since you have such high demands on problem-free migration, I suggest setting up a repo server running the new git (on the server side) and having some people test against the new git with both old and new git, as well as testing new git against the old servers.

Just get a backup first. I'm 99.9999999999999% sure you won't need it because of anything git does, but better safe than sorry, eh?

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: Sverre RabbelierNext: Jeff King
Message 3 of 7 in “upgrading GIT from version 1.7.0.4 to 1.7.6.1.”
  1. MikaëlSep 19, 2011
  2. Sverre RabbelierSep 19, 2011
  3. Andreas EricssonSep 19, 2011
  4. Jeff KingSep 19, 2011
  5. Junio C HamanoSep 19, 2011
  6. Jeff KingSep 19, 2011
  7. Jakub NarebskiSep 19, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.