Git @VERSION@ for Mac OS X 10.4 Tiger (@ARCHNAME@)

@IF ppc@
Git @VERSION@, the current release of Git, built for Mac OS X 10.4 on PowerPC
Macs: G3, G4 and G5. Everything is in one folder, /usr/local/git, as the Git
installers for newer Macs lay it out:
@END@
@IF i386@
Git @VERSION@, the current release of Git, built for Mac OS X 10.4 on Intel
Macs. (Another package is for PowerPC Macs: G3, G4 and G5.) Everything is in
one folder, /usr/local/git, as the Git installers for newer Macs lay it out:
@END@

  /usr/local/git/bin
      git, scalar, git-shell, git-upload-pack,
      git-receive-pack, git-upload-archive
  /usr/local/git/libexec/git-core
      what git runs itself: https remotes, git daemon
  /usr/local/git/share/man
      the manual pages, for git help
  /usr/local/git/etc/ssl/cert.pem
      a link to /usr/local/etc/ssl/cert.pem, the root
      certificates of the Root certificates package
  /usr/local/git/etc/gitconfig
      the system's settings: the Keychain keeps passwords
  /usr/local/git/share/git-tiger
      this Read Me, the licenses, update-shell-profile.sh

Using it

The installer adds /usr/local/git/bin to the PATH in your shell profile
(~/.bash_profile for bash, the shell Tiger gives new accounts, or the
.bash_login or .profile you already have) and keeps the old profile beside it
as .gitsave. Open a new Terminal window, then:

  git --version
  git config --global user.name "Your Name"
  git config --global user.email you@example.com
  git clone https://github.com/git/git.git

If you installed from the command line as another user, or changed shells,
run sh /usr/local/git/share/git-tiger/update-shell-profile.sh again.

What is in it

- Git's commands, which are written in C. Not the few written in Perl or
  Python: Tiger's Perl is 5.8.6, older than they need, so git send-email,
  git svn, git cvsimport, git p4 and the like say they are not available.
  No gitk or git gui either: they need a newer Tcl/Tk than Tiger's 8.4.
- https remotes with TLS 1.3: curl @CURL@ on OpenSSL @OPENSSL@. Clone,
  fetch and push over https work with today's servers, GitHub among them.
  Git checks each server against Mozilla's list of the authorities to
  trust, which the Root certificates package puts in
  /usr/local/etc/ssl/cert.pem. Install that package before Git: the
  Installer stops if it is not there. Tiger Packages installs it with Git,
  and offers each new list as an update.
- Linked in: zlib @ZLIB@, Expat @EXPAT@ (for pushing over plain http) and
  PCRE2 @PCRE2@ (git grep -P). Nothing outside Mac OS X itself is needed.
- A prompt for bash that shows the branch: in ~/.bash_profile, load
  git-prompt.sh from /usr/local/git/share/git-core/contrib/completion with
  the . command, and put $(__git_ps1) in PS1. Git's completion for bash is
  beside it, git-completion.bash, but it needs bash 3.1 or later; Tiger's
  bash is 2.05b.

Passwords and SSH

To push over https, GitHub and most hosts take a token in place of the
password. Git keeps the password or token that worked in your login keychain,
as on newer Macs: /usr/local/git/etc/gitconfig sets credential.helper to
osxkeychain. Newer Git's Keychain helper needs Mac OS X 10.6; this one is
Git 2.43's, which uses the Keychain calls Tiger has, and it replaces a token
you change. You will find the items in Keychain Access, by the host's name.

The Keychain opens only to programs in your own login session: in Terminal
it works, over ssh Git asks for the password each time. There, git config
--global credential.helper cache adds a helper that keeps it in memory for
15 minutes.

For ssh remotes Git runs Tiger's own ssh, OpenSSH 4.5. GitHub and many other
servers no longer accept the old algorithms it knows: use the https address,
or a newer ssh, with git config --global core.sshCommand.

Uninstalling

In Terminal:

  sudo rm -rf /usr/local/git
  sudo rm -rf "/Library/Receipts/Git "*.pkg

Then take the "Setting PATH for Git" lines out of your shell profile. The
root certificates stay: other programs use them too.

How it was made

@IF ppc@
Git and the libraries were cross-compiled on Linux with GCC 13.4 for
powerpc-apple-darwin8, against the Mac OS X 10.4u SDK, for any G3 and up,
without the parts Tiger lacks: the file system monitor (FSEvents came with
10.5) and Git's code in Rust, which has no compiler for PowerPC Macs. Every
program was checked to load on 10.4: no 10.5 load commands, nothing that
needs a G4, and only libraries Tiger has. The package and this disk image
were made on Mac OS X 10.4.11 with its own mkbom, pax and hdiutil.
@END@
@IF i386@
Git and the libraries were cross-compiled on Linux with GCC 13.4 for
i686-apple-darwin8, against the Mac OS X 10.4u SDK, for any Intel Mac (SSE3),
without the parts Tiger lacks: the file system monitor (FSEvents came with
10.5) and Git's code in Rust, which has no compiler for Mac OS X 10.4. Every
program was checked to load on 10.4: no 10.5 load commands, nothing for a
newer processor than the first Intel Macs had, and only libraries Tiger has.
The package and this disk image were made on Mac OS X 10.4.11 with its own
mkbom, pax and hdiutil.
@END@

Everything it was built from (Git's and the libraries' source, the patch and
the build scripts) is in Git-@PKGVERSION@-tiger-source.tar.gz, beside this
disk image.

Built @DATE@.
