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

Re: Repeatable Extraction

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 4, 2016, 10:25 UTC
Message-ID
<alpine.DEB.2.20.1610041223010.35196@virtualbox>
In-Reply-To
<CAJQwtsidixAAJKp7-b2PmXgs=mS+PbT5ebOmKLJU1nEn7UJ2og@mail.gmail.com>
Hi Chris,
On Tue, 27 Sep 2016, chris king wrote:
Show 8 quoted lines
> Is there a way automate extraction that will repeatably generate the
> same files? Currently, each time I extract git portable many of the
> binaries change slightly. For example, if I extract twice using
> 
>     PortableGit-2.10.0-32-bit.7z.exe -y -gm2
> 
> then Beyond Compare tells me that many of the files in usr\bin have
> changed at offset 0x88 and 0x89. Why is that?

The reason is that you look at 32-bit, where technical limitations force us to hard-code a certain base address for all of the includede MSYS2 .dll files (i.e. all libraries that require, or implement, the POSIX emulation layer called MSYS2).

To avoid clashes with other .dll files, that base address is adjusted via the post-install.bat script for your particular environment.

If you want to avoid that, you will have to extract the installer via 7-Zip: it is a self-extracting .7z archive (and the self-extractor automatically executes post-install.bat, which subsequently deletes itself).

Ciao, Johannes

Previous: Dennis Kaarsemaker
Message 3 of 3 in “Repeatable Extraction”
  1. chris kingSep 28, 2016
  2. Dennis KaarsemakerSep 28, 2016
  3. Johannes SchindelinOct 4, 2016

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.