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

Re: git compiled on same distro, different versions

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
Feb 25, 2012, 00:05 UTC
Message-ID
<4F4825CA.1060506@gmail.com>
In-Reply-To
<7vboonhoko.fsf@alter.siamese.dyndns.org>
On 2/24/2012 4:08 PM, Junio C Hamano wrote:
Show 15 quoted lines
> "Neal Kreitzinger"<neal@rsss.com>  writes:
>
>> If I only test a new git version (compiled from git.git source) on RHEL6
>> before I put it on the RHEL5 box is that sufficient for validation?  Should
>> git behave the same on both?  If not, why?
>
> I somehow find this a strange question to ask to Git people; you may have
> better luck asking the question to RHEL folks.
>
> Having said that, one of the reasons the result may not work, off the top
> of my head, is that the binary you compiled would expect to link with the
> system libraries that are available on your RHEL6 installation.  If your
> RHEL5 installation does not have a matching and ABI compatible library to
> any of them, the resulting binary would obviously not work there.
>

"high-level" question: If I compile git 1.7.9.2 (from git.git source) on RHEL6 test-box and test it and conclude that it "works right" is that sufficient for me to then go ahead and compile git 1.7.9.2 on RHEL5 real-box and expect/assume that it will also "work right"? IOW, will they produce the same results? Because if not then I have just potentially broken the real-box.

"low-level" question: I suspect git calls linux commands alot. Git has "plumbing" commands that are not supposed to "break" scripts. Does linux also have "plumbing" commands that are not supposed to "break" scripts? Does git only use linux "plumbing" commands? Because if git commands uses linux "porcelain" then the linux "porcelain" change could cause git to change (not necessarily "break"). Maybe git-porcelain only uses linux-porcelain, and git-plumbing only uses linux-plumbing.

Definitely thanks in advance for any replies!

v/r, neal

Previous: Junio C HamanoNext: Holger Hellmuth
Message 3 of 4 in “git compiled on same distro, different versions”
  1. Neal KreitzingerFeb 24, 2012
  2. Junio C HamanoFeb 24, 2012
  3. Neal KreitzingerFeb 25, 2012
  4. Holger HellmuthFeb 27, 2012

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.