git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Repeatable Extraction
@ 2016-09-28  3:14 chris king
  2016-09-28  6:49 ` Dennis Kaarsemaker
  2016-10-04 10:25 ` Johannes Schindelin
  0 siblings, 2 replies; 3+ messages in thread
From: chris king @ 2016-09-28  3:14 UTC (permalink / raw)
  To: git

Hello, first off thanks for such a wonderful tool! I have a general
question and I hope this is an appropriate spot to ask it.

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?

Warm regards,
Chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Repeatable Extraction
  2016-09-28  3:14 Repeatable Extraction chris king
@ 2016-09-28  6:49 ` Dennis Kaarsemaker
  2016-10-04 10:25 ` Johannes Schindelin
  1 sibling, 0 replies; 3+ messages in thread
From: Dennis Kaarsemaker @ 2016-09-28  6:49 UTC (permalink / raw)
  To: chris king, git

On di, 2016-09-27 at 20:14 -0700, chris king wrote:
> Hello, first off thanks for such a wonderful tool! I have a general
> question and I hope this is an appropriate spot to ask it.
> 
> 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?

Hi Chris,

That file is specific to the git for windows project, not git itself.
While you may be able to find somebody on the git@vger mailinglist who
knows the answer, git for windows also has a separate mailinglist at
https://groups.google.com/forum/#!forum/git-for-windows and a chat room
at https://gitter.im/git-for-windows/git -- these may be of more
assistance in this case.

-- 
Dennis Kaarsemaker
http://www.kaarsemaker.net



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Repeatable Extraction
  2016-09-28  3:14 Repeatable Extraction chris king
  2016-09-28  6:49 ` Dennis Kaarsemaker
@ 2016-10-04 10:25 ` Johannes Schindelin
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Schindelin @ 2016-10-04 10:25 UTC (permalink / raw)
  To: chris king; +Cc: git

Hi Chris,

On Tue, 27 Sep 2016, chris king wrote:

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-04 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-28  3:14 Repeatable Extraction chris king
2016-09-28  6:49 ` Dennis Kaarsemaker
2016-10-04 10:25 ` Johannes Schindelin

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).