Skip to content

Instantly share code, notes, and snippets.

@hyamamoto
Last active December 29, 2015 01:38
Show Gist options
  • Save hyamamoto/7594081 to your computer and use it in GitHub Desktop.
Save hyamamoto/7594081 to your computer and use it in GitHub Desktop.
Installing the latest git (1.8.x) on Cygwin.

Installing the latest git on Cygwin

Cygwin always has older git (right now it has 1.7.9 released in May/2012. This needs an update to get around with has some unicode problems.)

Let's say a Windows junk was thrown at you. Git was not in that box. When you start looking at "msysgit", "Git for Windows", "Tortoise Git", "SourceTree" and "Github for Windows", you notice that they have all different git versions. Installing them, then you will end up with a repository version fragmentation and kill someone. Well, not so bad like being under subversion ecosystem. But this still causes invisible problems especially when you are dealing with multiple encodings.

So, getting the latest git on Cygwin and adjusting everything with it, then tell 'them' to use it was an imperative duty!

how

$ git clone https://github.com/git/git.git
$ cd git
$ cd install
$ make configure
$ ./configure --prefix=/usr/local
$ make
$ make install
$ cd ..
$ rm -r git

ah, I think building git requires perl, ssh, expat2, curl, and zlib. Make sure you have them.

then rename if there is an original git executable.

$ mv /bin/git.exe /bin/git.old.exe

log

$ git clone https://github.com/git/git.git
Cloning into 'git'...
remote: Finding bitmap roots...
remote: Counting objects: 165103, done.
remote: Compressing objects: 100% (46057/46057), done.
remote: Total 165103 (delta 118958), reused 163113 (delta 117071)
Receiving objects: 100% (165103/165103), 51.31 MiB | 348 KiB/s, done.
Resolving deltas: 100% (118958/118958), done.

$ cd git/

$ make configure
GIT_VERSION = 1.8.5.rc3
    GEN configure

$ ./configure  --prefix=/usr/local
configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
configure: CHECKS for programs
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for inline... inline
checking if linker supports -R... no
checking if linker supports -Wl,-rpath,... yes
checking for gar... no
checking for ar... ar
checking for gtar... no
checking for tar... tar
checking for gnudiff... no
checking for gdiff... no
checking for diff... diff
checking for asciidoc... asciidoc
checking for asciidoc version... asciidoc 8.6.3
configure: CHECKS for libraries
checking for SHA1_Init in -lcrypto... yes
checking for curl_global_init in -lcurl... yes
checking for XML_ParserCreate in -lexpat... yes
checking for iconv in -lc... no
checking for iconv in -liconv... yes
checking for deflateBound in -lz... yes
checking for socket in -lc... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for hstrerror... yes
checking for basename in -lc... yes
checking for gettext in -lc... no
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
configure: CHECKS for header files
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for inttypes.h... (cached) yes
checking for old iconv()... no
configure: CHECKS for typedefs, structures, and compiler characteristics
checking for socklen_t... yes
checking for struct dirent.d_ino... yes
checking for struct dirent.d_type... yes
checking for struct passwd.pw_gecos... yes
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for getaddrinfo... yes
checking for library containing getaddrinfo... none required
checking whether the platform regex can handle null bytes... yes
checking whether system succeeds to read fopen'ed directory... no
checking whether snprintf() and/or vsnprintf() return bogus value... no
configure: CHECKS for library functions
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking libcharset.h usability... yes
checking libcharset.h presence... yes
checking for libcharset.h... yes
checking for strings.h... (cached) yes
checking for locale_charset in -liconv... yes
checking for strcasestr... yes
checking for library containing strcasestr... none required
checking for fnmatch... yes
checking for library containing fnmatch... none required
checking whether the fnmatch function supports the FNMATCH_CASEFOLD GNU extension... yes
checking for memmem... yes
checking for library containing memmem... none required
checking for strlcpy... yes
checking for library containing strlcpy... none required
checking for uintmax_t... yes
checking for strtoumax... yes
checking for library containing strtoumax... none required
checking for setenv... yes
checking for library containing setenv... none required
checking for unsetenv... yes
checking for library containing unsetenv... none required
checking for mkdtemp... yes
checking for library containing mkdtemp... none required
checking for mkstemps... yes
checking for library containing mkstemps... none required
checking for initgroups... yes
checking for library containing initgroups... none required
checking for POSIX Threads with ''... yes
configure: creating ./config.status
config.status: creating config.mak.autogen
config.status: executing config.mak.autogen commands

$ make
GIT_VERSION = 1.8.5.rc3
    * new build flags
    CC credential-store.o
    * new link flags
    CC abspath.o
    CC advice.o
    CC alias.o
    CC alloc.o
    CC archive.o
    CC archive-tar.o
    CC archive-zip.o
    CC argv-array.o
    * new prefix flags
    CC attr.o
    CC base85.o
    CC bisect.o
    CC blob.o
    CC branch.o
    CC bulk-checkin.o
    CC bundle.o
    CC cache-tree.o
    CC color.o
    CC column.o
    CC combine-diff.o
    CC commit.o
    CC compat/obstack.o
    CC compat/terminal.o
    CC config.o
    CC connect.o
    CC connected.o
    CC convert.o
    CC copy.o
    CC credential.o
    CC csum-file.o
    CC ctype.o
    CC date.o
    CC decorate.o
    CC diffcore-break.o
    CC diffcore-delta.o
    CC diffcore-order.o
    CC diffcore-pickaxe.o
    CC diffcore-rename.o
    CC diff-delta.o
    CC diff-lib.o
    CC diff-no-index.o
    CC diff.o
    CC dir.o
    CC editor.o
    CC entry.o
    CC environment.o
    CC exec_cmd.o
    CC fetch-pack.o
    CC fsck.o
    CC gettext.o
    CC gpg-interface.o
    CC graph.o
    CC grep.o
    CC hash.o
    GEN common-cmds.h
    CC help.o
    CC hex.o
    CC ident.o
    CC kwset.o
    CC levenshtein.o
    CC line-log.o
    CC line-range.o
    CC list-objects.o
    CC ll-merge.o
    CC lockfile.o
    CC log-tree.o
    CC mailmap.o
    CC match-trees.o
    CC merge.o
    CC merge-blobs.o
    CC merge-recursive.o
    CC mergesort.o
    CC name-hash.o
    CC notes.o
    CC notes-cache.o
    CC notes-merge.o
    CC notes-utils.o
    CC object.o
    CC pack-check.o
    CC pack-revindex.o
    CC pack-write.o
    CC pager.o
    CC parse-options.o
    CC parse-options-cb.o
    CC patch-delta.o
    CC patch-ids.o
    CC path.o
    CC pathspec.o
    CC pkt-line.o
    CC preload-index.o
    CC pretty.o
    CC prio-queue.o
    CC progress.o
    CC prompt.o
    CC quote.o
    CC reachable.o
    CC read-cache.o
    CC reflog-walk.o
    CC refs.o
    CC remote.o
    CC replace_object.o
    CC rerere.o
    CC resolve-undo.o
    CC revision.o
    CC run-command.o
    CC send-pack.o
    CC sequencer.o
    CC server-info.o
    CC setup.o
    CC sha1-array.o
    CC sha1-lookup.o
    CC sha1_file.o
    CC sha1_name.o
    CC shallow.o
    CC sideband.o
    CC sigchain.o
    CC strbuf.o
    CC streaming.o
    CC string-list.o
    CC submodule.o
    CC symlinks.o
    CC tag.o
    CC trace.o
    CC transport.o
    CC transport-helper.o
    CC tree-diff.o
    CC tree.o
    CC tree-walk.o
    CC unpack-trees.o
    CC url.o
    CC urlmatch.o
    CC usage.o
    CC userdiff.o
    CC utf8.o
    CC varint.o
    CC version.o
    CC walker.o
    CC wildmatch.o
    CC wrapper.o
    CC write_or_die.o
    CC ws.o
    CC wt-status.o
    CC xdiff-interface.o
    CC zlib.o
    CC unix-socket.o
    CC thread-utils.o
    AR libgit.a
    CC xdiff/xdiffi.o
    CC xdiff/xprepare.o
    CC xdiff/xutils.o
    CC xdiff/xemit.o
    CC xdiff/xmerge.o
    CC xdiff/xpatience.o
    CC xdiff/xhistogram.o
    AR xdiff/lib.a
    LINK git-credential-store.exe
    CC daemon.o
    LINK git-daemon.exe
    CC fast-import.o
    LINK git-fast-import.exe
    CC http-backend.o
    LINK git-http-backend.exe
    CC imap-send.o
    LINK git-imap-send.exe
    CC sh-i18n--envsubst.o
    LINK git-sh-i18n--envsubst.exe
    CC shell.o
    LINK git-shell.exe
    CC show-index.o
    LINK git-show-index.exe
    CC upload-pack.o
    LINK git-upload-pack.exe
    CC remote-testsvn.o
    CC vcs-svn/line_buffer.o
    CC vcs-svn/sliding_window.o
    CC vcs-svn/repo_tree.o
    CC vcs-svn/fast_export.o
    CC vcs-svn/svndiff.o
    CC vcs-svn/svndump.o
    AR vcs-svn/lib.a
    LINK git-remote-testsvn.exe
    CC http.o
    CC http-walker.o
    CC http-fetch.o
    LINK git-http-fetch.exe
    CC http-push.o
    LINK git-http-push.exe
    CC credential-cache.o
    LINK git-credential-cache.exe
    CC credential-cache--daemon.o
    LINK git-credential-cache--daemon.exe
    CC remote-curl.o
    LINK git-remote-http.exe
    LN/CP git-remote-https.exe
    LN/CP git-remote-ftp.exe
    LN/CP git-remote-ftps.exe
    * new script parameters
    GEN git-am
    GEN git-bisect
    GEN git-difftool--helper
    GEN git-filter-branch
    GEN git-lost-found
    GEN git-merge-octopus
    GEN git-merge-one-file
    GEN git-merge-resolve
    GEN git-mergetool
    GEN git-pull
    GEN git-quiltimport
    GEN git-rebase
    GEN git-request-pull
    GEN git-stash
    GEN git-submodule
    GEN git-web--browse
    GEN perl/PM.stamp
    SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/usr/local' INSTALL_BASE='' --localedir='/usr/local/share/locale'
Writing perl.mak for Git
Writing MYMETA.yml
    GEN git-add--interactive
    GEN git-difftool
    GEN git-archimport
    GEN git-cvsexportcommit
    GEN git-cvsimport
    GEN git-cvsserver
    GEN git-relink
    GEN git-send-email
    GEN git-svn
    * new Python interpreter location
    GEN git-p4
    SUBDIR gitweb
    SUBDIR ../
make[2]: 'GIT-VERSION-FILE' is up to date.
    GEN gitweb.cgi
    GEN static/gitweb.js
    GEN git-instaweb
    GEN git-mergetool--lib
    GEN git-parse-remote
    GEN git-rebase--am
    GEN git-rebase--interactive
    GEN git-rebase--merge
    GEN git-sh-setup
    GEN git-sh-i18n
    CC git.o
    CC builtin/add.o
    CC builtin/annotate.o
    CC builtin/apply.o
    CC builtin/archive.o
    CC builtin/bisect--helper.o
    CC builtin/blame.o
    CC builtin/branch.o
    CC builtin/bundle.o
    CC builtin/cat-file.o
    CC builtin/check-attr.o
    CC builtin/check-ignore.o
    CC builtin/check-mailmap.o
    CC builtin/check-ref-format.o
    CC builtin/checkout-index.o
    CC builtin/checkout.o
    CC builtin/clean.o
    CC builtin/clone.o
    CC builtin/column.o
    CC builtin/commit-tree.o
    CC builtin/commit.o
    CC builtin/config.o
    CC builtin/count-objects.o
    CC builtin/credential.o
    CC builtin/describe.o
    CC builtin/diff-files.o
    CC builtin/diff-index.o
    CC builtin/diff-tree.o
    CC builtin/diff.o
    CC builtin/fast-export.o
    CC builtin/fetch-pack.o
    CC builtin/fetch.o
    CC builtin/fmt-merge-msg.o
    CC builtin/for-each-ref.o
    CC builtin/fsck.o
    CC builtin/gc.o
    CC builtin/grep.o
    CC builtin/hash-object.o
    CC builtin/help.o
    CC builtin/index-pack.o
    CC builtin/init-db.o
    CC builtin/log.o
    CC builtin/ls-files.o
    CC builtin/ls-remote.o
    CC builtin/ls-tree.o
    CC builtin/mailinfo.o
    CC builtin/mailsplit.o
    CC builtin/merge.o
    CC builtin/merge-base.o
    CC builtin/merge-file.o
    CC builtin/merge-index.o
    CC builtin/merge-ours.o
    CC builtin/merge-recursive.o
    CC builtin/merge-tree.o
    CC builtin/mktag.o
    CC builtin/mktree.o
    CC builtin/mv.o
    CC builtin/name-rev.o
    CC builtin/notes.o
    CC builtin/pack-objects.o
    CC builtin/pack-redundant.o
    CC builtin/pack-refs.o
    CC builtin/patch-id.o
    CC builtin/prune-packed.o
    CC builtin/prune.o
    CC builtin/push.o
    CC builtin/read-tree.o
    CC builtin/receive-pack.o
    CC builtin/reflog.o
    CC builtin/remote.o
    CC builtin/remote-ext.o
    CC builtin/remote-fd.o
    CC builtin/repack.o
    CC builtin/replace.o
    CC builtin/rerere.o
    CC builtin/reset.o
    CC builtin/rev-list.o
    CC builtin/rev-parse.o
    CC builtin/revert.o
    CC builtin/rm.o
    CC builtin/send-pack.o
    CC builtin/shortlog.o
    CC builtin/show-branch.o
    CC builtin/show-ref.o
    CC builtin/stripspace.o
    CC builtin/symbolic-ref.o
    CC builtin/tag.o
    CC builtin/tar-tree.o
    CC builtin/unpack-file.o
    CC builtin/unpack-objects.o
    CC builtin/update-index.o
    CC builtin/update-ref.o
    CC builtin/update-server-info.o
    CC builtin/upload-archive.o
    CC builtin/var.o
    CC builtin/verify-pack.o
    CC builtin/verify-tag.o
    CC builtin/write-tree.o
    LINK git.exe
    BUILTIN git-add.exe
    BUILTIN git-annotate.exe
    BUILTIN git-apply.exe
    BUILTIN git-archive.exe
    BUILTIN git-bisect--helper.exe
    BUILTIN git-blame.exe
    BUILTIN git-branch.exe
    BUILTIN git-bundle.exe
    BUILTIN git-cat-file.exe
    BUILTIN git-check-attr.exe
    BUILTIN git-check-ignore.exe
    BUILTIN git-check-mailmap.exe
    BUILTIN git-check-ref-format.exe
    BUILTIN git-checkout-index.exe
    BUILTIN git-checkout.exe
    BUILTIN git-clean.exe
    BUILTIN git-clone.exe
    BUILTIN git-column.exe
    BUILTIN git-commit-tree.exe
    BUILTIN git-commit.exe
    BUILTIN git-config.exe
    BUILTIN git-count-objects.exe
    BUILTIN git-credential.exe
    BUILTIN git-describe.exe
    BUILTIN git-diff-files.exe
    BUILTIN git-diff-index.exe
    BUILTIN git-diff-tree.exe
    BUILTIN git-diff.exe
    BUILTIN git-fast-export.exe
    BUILTIN git-fetch-pack.exe
    BUILTIN git-fetch.exe
    BUILTIN git-fmt-merge-msg.exe
    BUILTIN git-for-each-ref.exe
    BUILTIN git-fsck.exe
    BUILTIN git-gc.exe
    BUILTIN git-grep.exe
    BUILTIN git-hash-object.exe
    BUILTIN git-help.exe
    BUILTIN git-index-pack.exe
    BUILTIN git-init-db.exe
    BUILTIN git-log.exe
    BUILTIN git-ls-files.exe
    BUILTIN git-ls-remote.exe
    BUILTIN git-ls-tree.exe
    BUILTIN git-mailinfo.exe
    BUILTIN git-mailsplit.exe
    BUILTIN git-merge.exe
    BUILTIN git-merge-base.exe
    BUILTIN git-merge-file.exe
    BUILTIN git-merge-index.exe
    BUILTIN git-merge-ours.exe
    BUILTIN git-merge-recursive.exe
    BUILTIN git-merge-tree.exe
    BUILTIN git-mktag.exe
    BUILTIN git-mktree.exe
    BUILTIN git-mv.exe
    BUILTIN git-name-rev.exe
    BUILTIN git-notes.exe
    BUILTIN git-pack-objects.exe
    BUILTIN git-pack-redundant.exe
    BUILTIN git-pack-refs.exe
    BUILTIN git-patch-id.exe
    BUILTIN git-prune-packed.exe
    BUILTIN git-prune.exe
    BUILTIN git-push.exe
    BUILTIN git-read-tree.exe
    BUILTIN git-receive-pack.exe
    BUILTIN git-reflog.exe
    BUILTIN git-remote.exe
    BUILTIN git-remote-ext.exe
    BUILTIN git-remote-fd.exe
    BUILTIN git-repack.exe
    BUILTIN git-replace.exe
    BUILTIN git-rerere.exe
    BUILTIN git-reset.exe
    BUILTIN git-rev-list.exe
    BUILTIN git-rev-parse.exe
    BUILTIN git-revert.exe
    BUILTIN git-rm.exe
    BUILTIN git-send-pack.exe
    BUILTIN git-shortlog.exe
    BUILTIN git-show-branch.exe
    BUILTIN git-show-ref.exe
    BUILTIN git-stripspace.exe
    BUILTIN git-symbolic-ref.exe
    BUILTIN git-tag.exe
    BUILTIN git-tar-tree.exe
    BUILTIN git-unpack-file.exe
    BUILTIN git-unpack-objects.exe
    BUILTIN git-update-index.exe
    BUILTIN git-update-ref.exe
    BUILTIN git-update-server-info.exe
    BUILTIN git-upload-archive.exe
    BUILTIN git-var.exe
    BUILTIN git-verify-pack.exe
    BUILTIN git-verify-tag.exe
    BUILTIN git-write-tree.exe
    BUILTIN git-cherry.exe
    BUILTIN git-cherry-pick.exe
    BUILTIN git-format-patch.exe
    BUILTIN git-fsck-objects.exe
    BUILTIN git-get-tar-commit-id.exe
    BUILTIN git-init.exe
    BUILTIN git-merge-subtree.exe
    BUILTIN git-peek-remote.exe
    BUILTIN git-repo-config.exe
    BUILTIN git-show.exe
    BUILTIN git-stage.exe
    BUILTIN git-status.exe
    BUILTIN git-whatchanged.exe
    BUILTIN all
    SUBDIR git-gui
GITGUI_VERSION = 0.18.0
    * new locations or Tcl/Tk interpreter
    GEN git-gui
    INDEX lib/
    MSGFMT    po/el.msg 381 translated, 4 fuzzy, 6 untranslated.
    MSGFMT po/zh_cn.msg 366 translated, 7 fuzzy, 17 untranslated.
    MSGFMT    po/ru.msg 516 translated, 4 untranslated.
    MSGFMT    po/de.msg 520 translated.
    MSGFMT po/pt_br.msg 520 translated.
    MSGFMT    po/ja.msg 520 translated.
    MSGFMT    po/it.msg 519 translated, 1 untranslated.
    MSGFMT    po/fr.msg 520 translated.
    MSGFMT    po/sv.msg 521 translated.
    MSGFMT    po/nb.msg 474 translated, 39 untranslated.
    MSGFMT    po/hu.msg 514 translated.
    SUBDIR gitk-git
    * new Tcl/Tk interpreter location
    GEN gitk-wish
Generating catalog po/ru.msg
msgfmt --statistics --tcl po/ru.po -l ru -d po/
245 translated messages.
Generating catalog po/de.msg
msgfmt --statistics --tcl po/de.po -l de -d po/
289 translated messages.
Generating catalog po/pt_br.msg
msgfmt --statistics --tcl po/pt_br.po -l pt_br -d po/
290 translated messages.
Generating catalog po/ja.msg
msgfmt --statistics --tcl po/ja.po -l ja -d po/
284 translated messages.
Generating catalog po/it.msg
msgfmt --statistics --tcl po/it.po -l it -d po/
283 translated messages, 6 untranslated messages.
Generating catalog po/fr.msg
msgfmt --statistics --tcl po/fr.po -l fr -d po/
276 translated messages, 4 fuzzy translations.
Generating catalog po/sv.msg
msgfmt --statistics --tcl po/sv.po -l sv -d po/
304 translated messages.
Generating catalog po/es.msg
msgfmt --statistics --tcl po/es.po -l es -d po/
200 translated messages, 7 untranslated messages.
Generating catalog po/hu.msg
msgfmt --statistics --tcl po/hu.po -l hu -d po/
288 translated messages.
    SUBDIR perl
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Editor.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Migration.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Log.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Memoize/YAML.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Ra.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/I18N.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Prompt.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/GlobSpec.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Fetcher.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/IndexInfo.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Utils.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git.pm
Manifying blib/man3/Git.SVN.Editor.3pm
Manifying blib/man3/Git.SVN.Memoize.YAML.3pm
Manifying blib/man3/Git.SVN.Ra.3pm
Manifying blib/man3/Git.I18N.3pm
Manifying blib/man3/Git.SVN.Prompt.3pm
Manifying blib/man3/Git.SVN.Fetcher.3pm
Manifying blib/man3/Git.SVN.Utils.3pm
Manifying blib/man3/Git.3pm
    SUBDIR templates
    MSGFMT po/build/locale/is/LC_MESSAGES/git.mo
14 translated messages.
    MSGFMT po/build/locale/zh_CN/LC_MESSAGES/git.mo
2194 translated messages.
    MSGFMT po/build/locale/nl/LC_MESSAGES/git.mo
0 translated messages, 722 untranslated messages.
    MSGFMT po/build/locale/de/LC_MESSAGES/git.mo
2192 translated messages, 2 untranslated messages.
    MSGFMT po/build/locale/it/LC_MESSAGES/git.mo
716 translated messages, 350 untranslated messages.
    MSGFMT po/build/locale/fr/LC_MESSAGES/git.mo
2194 translated messages.
    MSGFMT po/build/locale/sv/LC_MESSAGES/git.mo
2194 translated messages.
    MSGFMT po/build/locale/da/LC_MESSAGES/git.mo
0 translated messages, 724 untranslated messages.
    MSGFMT po/build/locale/vi/LC_MESSAGES/git.mo
2194 translated messages.
    MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
306 translated messages, 687 untranslated messages.
    CC test-chmtime.o
    LINK test-chmtime.exe
    CC test-ctype.o
    LINK test-ctype.exe
    CC test-date.o
    LINK test-date.exe
    CC test-delta.o
    LINK test-delta.exe
    CC test-dump-cache-tree.o
    LINK test-dump-cache-tree.exe
    CC test-genrandom.o
    LINK test-genrandom.exe
    CC test-index-version.o
    LINK test-index-version.exe
    CC test-line-buffer.o
    LINK test-line-buffer.exe
    CC test-match-trees.o
    LINK test-match-trees.exe
    CC test-mergesort.o
    LINK test-mergesort.exe
    CC test-mktemp.o
    LINK test-mktemp.exe
    CC test-parse-options.o
    LINK test-parse-options.exe
    CC test-path-utils.o
    LINK test-path-utils.exe
    CC test-prio-queue.o
    LINK test-prio-queue.exe
    CC test-read-cache.o
    LINK test-read-cache.exe
    CC test-regex.o
    LINK test-regex.exe
    CC test-revision-walking.o
    LINK test-revision-walking.exe
    CC test-run-command.o
    LINK test-run-command.exe
    CC test-scrap-cache-tree.o
    LINK test-scrap-cache-tree.exe
    CC test-sha1.o
    LINK test-sha1.exe
    CC test-sigchain.o
    LINK test-sigchain.exe
    CC test-string-list.o
    LINK test-string-list.exe
    CC test-subprocess.o
    LINK test-subprocess.exe
    CC test-svn-fe.o
    LINK test-svn-fe.exe
    CC test-urlmatch-normalization.o
    LINK test-urlmatch-normalization.exe
    CC test-wildmatch.o
    LINK test-wildmatch.exe
    GEN bin-wrappers/git
    GEN bin-wrappers/git-upload-pack
    GEN bin-wrappers/git-receive-pack
    GEN bin-wrappers/git-upload-archive
    GEN bin-wrappers/git-shell
    GEN bin-wrappers/git-cvsserver
    GEN bin-wrappers/test-chmtime
    GEN bin-wrappers/test-ctype
    GEN bin-wrappers/test-date
    GEN bin-wrappers/test-delta
    GEN bin-wrappers/test-dump-cache-tree
    GEN bin-wrappers/test-genrandom
    GEN bin-wrappers/test-index-version
    GEN bin-wrappers/test-line-buffer
    GEN bin-wrappers/test-match-trees
    GEN bin-wrappers/test-mergesort
    GEN bin-wrappers/test-mktemp
    GEN bin-wrappers/test-parse-options
    GEN bin-wrappers/test-path-utils
    GEN bin-wrappers/test-prio-queue
    GEN bin-wrappers/test-read-cache
    GEN bin-wrappers/test-regex
    GEN bin-wrappers/test-revision-walking
    GEN bin-wrappers/test-run-command
    GEN bin-wrappers/test-scrap-cache-tree
    GEN bin-wrappers/test-sha1
    GEN bin-wrappers/test-sigchain
    GEN bin-wrappers/test-string-list
    GEN bin-wrappers/test-subprocess
    GEN bin-wrappers/test-svn-fe
    GEN bin-wrappers/test-urlmatch-normalization
    GEN bin-wrappers/test-wildmatch
    GEN git-remote-testgit

$ make install
    GEN perl/PM.stamp
    SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/usr/local' INSTALL_BASE='' --localedir='/usr/local/share/locale'
Writing perl.mak for Git
Writing MYMETA.yml
    GEN git-add--interactive
    GEN git-difftool
    GEN git-archimport
    GEN git-cvsexportcommit
    GEN git-cvsimport
    GEN git-cvsserver
    GEN git-relink
    GEN git-send-email
    GEN git-svn
    SUBDIR gitweb
    SUBDIR ../
make[2]: 'GIT-VERSION-FILE' is up to date.
    GEN git-instaweb
    BUILTIN all
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR perl
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Editor.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Migration.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Log.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Memoize/YAML.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Ra.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/I18N.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Prompt.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/GlobSpec.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Fetcher.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/IndexInfo.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git/SVN/Utils.pm
/usr/bin/perl.exe -pe "s<\Q++LOCALEDIR++\E>" blib/lib/Git.pm
    SUBDIR templates
install -d -m 755 '/usr/local/bin'
install -d -m 755 '/usr/local/libexec/git-core'
install   git-credential-store.exe git-daemon.exe git-fast-import.exe git-http-backend.exe git-imap-send.exe git-sh-i18n--envsubst.exe git-shell.exe git-show-index.exe git-upload-pack.exe git-remote-testsvn.exe git-http-fetch.exe git-http-push.exe git-credential-cache.exe git-credential-cache--daemon.exe git-remote-http.exe git-remote-https.exe git-remote-ftp.exe git-remote-ftps.exe git-am git-bisect git-difftool--helper git-filter-branch git-lost-found git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-pull git-quiltimport git-rebase git-request-pull git-stash git-submodule git-web--browse git-add--interactive git-difftool git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn git-p4 git-instaweb '/usr/local/libexec/git-core'
install -m 644  git-mergetool--lib git-parse-remote git-rebase--am git-rebase--interactive git-rebase--merge git-sh-setup git-sh-i18n '/usr/local/libexec/git-core'
install git.exe git-upload-pack.exe git-receive-pack.exe git-upload-archive.exe git-shell.exe git-cvsserver '/usr/local/bin'
make -C templates DESTDIR='' install
make[1]: Entering directory '/home/yamamoto/repository/git/templates'
install -d -m 755 '/usr/local/share/git-core/templates'
(cd blt && tar cf - .) | \
(cd '/usr/local/share/git-core/templates' && umask 022 && tar xof -)
make[1]: Leaving directory '/home/yamamoto/repository/git/templates'
install -d -m 755 '/usr/local/libexec/git-core/mergetools'
install -m 644 mergetools/* '/usr/local/libexec/git-core/mergetools'
install -d -m 755 '/usr/local/share/locale'
(cd po/build/locale && tar cf - .) | \
(cd '/usr/local/share/locale' && umask 022 && tar xof -)
make -C perl prefix='/usr/local' DESTDIR='' install
make[1]: Entering directory '/home/yamamoto/repository/git/perl'
make[2]: Entering directory '/home/yamamoto/repository/git/perl'
Appending installation info to /usr/local/lib/perl5/5.14/i686-cygwin-threads-64int/perllocal.pod
make[2]: Leaving directory '/home/yamamoto/repository/git/perl'
make[1]: Leaving directory '/home/yamamoto/repository/git/perl'
make -C gitweb install
make[1]: Entering directory '/home/yamamoto/repository/git/gitweb'
make[2]: Entering directory '/home/yamamoto/repository/git'
make[2]: 'GIT-VERSION-FILE' is up to date.
make[2]: Leaving directory '/home/yamamoto/repository/git'
install -d -m 755 '/usr/local/share/gitweb'
install -m 755 gitweb.cgi '/usr/local/share/gitweb'
install -d -m 755 '/usr/local/share/gitweb/static'
install -m 644 static/gitweb.js static/gitweb.css static/git-logo.png static/git-favicon.png '/usr/local/share/gitweb/static'
make[1]: Leaving directory '/home/yamamoto/repository/git/gitweb'
make -C gitk-git install
make[1]: Entering directory '/home/yamamoto/repository/git/gitk-git'
install -m 755 gitk-wish '/usr/local/bin'/gitk
install -d -m 755 '/usr/local/share/gitk/lib/msgs'
install -m 644 po/de.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/it.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/fr.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/es.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/sv.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/ja.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/hu.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/pt_br.msg '/usr/local/share/gitk/lib/msgs' &&  install -m 644 po/ru.msg '/usr/local/share/gitk/lib/msgs' && true
make[1]: Leaving directory '/home/yamamoto/repository/git/gitk-git'
make -C git-gui gitexecdir='/usr/local/libexec/git-core' install
make[1]: Entering directory '/home/yamamoto/repository/git/git-gui'
  DEST /usr/local/libexec/git-core
    INSTALL 755 git-gui
    INSTALL 755 git-gui--askpass
    LINK        git-citool -> git-gui
  DEST /usr/local/share/git-gui/lib
    INSTALL 644 tclIndex
    INSTALL 644 merge.tcl
    INSTALL 644 error.tcl
    INSTALL 644 date.tcl
    INSTALL 644 encoding.tcl
    INSTALL 644 remote_branch_delete.tcl
    INSTALL 644 branch_delete.tcl
    INSTALL 644 choose_rev.tcl
    INSTALL 644 console.tcl
    INSTALL 644 checkout_op.tcl
    INSTALL 644 blame.tcl
    INSTALL 644 class.tcl
    INSTALL 644 about.tcl
    INSTALL 644 choose_repository.tcl
    INSTALL 644 branch_rename.tcl
    INSTALL 644 shortcut.tcl
    INSTALL 644 search.tcl
    INSTALL 644 win32.tcl
    INSTALL 644 status_bar.tcl
    INSTALL 644 tools_dlg.tcl
    INSTALL 644 tools.tcl
    INSTALL 644 mergetool.tcl
    INSTALL 644 option.tcl
    INSTALL 644 database.tcl
    INSTALL 644 transport.tcl
    INSTALL 644 choose_font.tcl
    INSTALL 644 logo.tcl
    INSTALL 644 remote.tcl
    INSTALL 644 diff.tcl
    INSTALL 644 branch.tcl
    INSTALL 644 commit.tcl
    INSTALL 644 branch_checkout.tcl
    INSTALL 644 index.tcl
    INSTALL 644 sshkey.tcl
    INSTALL 644 browser.tcl
    INSTALL 644 remote_add.tcl
    INSTALL 644 line.tcl
    INSTALL 644 branch_create.tcl
    INSTALL 644 spellcheck.tcl
    INSTALL 644 themed.tcl
    INSTALL 644 git-gui.ico
    INSTALL 644 win32_shortcut.js
  DEST /usr/local/share/git-gui/lib/msgs
    INSTALL 644 de.msg
    INSTALL 644 nb.msg
    INSTALL 644 it.msg
    INSTALL 644 fr.msg
    INSTALL 644 hu.msg
    INSTALL 644 sv.msg
    INSTALL 644 ja.msg
    INSTALL 644 zh_cn.msg
    INSTALL 644 el.msg
    INSTALL 644 pt_br.msg
    INSTALL 644 ru.msg
make[1]: Leaving directory '/home/yamamoto/repository/git/git-gui'
test '/usr/local/libexec/git-core/git-credential-store' -ef '/usr/local/libexec/git-core/git-credential-store.exe' || rm -f '/usr/local/libexec/git-core/git-credential-store';  test '/usr/local/libexec/git-core/git-daemon' -ef '/usr/local/libexec/git-core/git-daemon.exe' || rm -f '/usr/local/libexec/git-core/git-daemon';  test '/usr/local/libexec/git-core/git-fast-import' -ef '/usr/local/libexec/git-core/git-fast-import.exe' || rm -f '/usr/local/libexec/git-core/git-fast-import';  test '/usr/local/libexec/git-core/git-http-backend' -ef '/usr/local/libexec/git-core/git-http-backend.exe' || rm -f '/usr/local/libexec/git-core/git-http-backend';  test '/usr/local/libexec/git-core/git-imap-send' -ef '/usr/local/libexec/git-core/git-imap-send.exe' || rm -f '/usr/local/libexec/git-core/git-imap-send';  test '/usr/local/libexec/git-core/git-sh-i18n--envsubst' -ef '/usr/local/libexec/git-core/git-sh-i18n--envsubst.exe' || rm -f '/usr/local/libexec/git-core/git-sh-i18n--envsubst';  test '/usr/local/libexec/git-core/git-shell' -ef '/usr/local/libexec/git-core/git-shell.exe' || rm -f '/usr/local/libexec/git-core/git-shell';  test '/usr/local/libexec/git-core/git-show-index' -ef '/usr/local/libexec/git-core/git-show-index.exe' || rm -f '/usr/local/libexec/git-core/git-show-index';  test '/usr/local/libexec/git-core/git-upload-pack' -ef '/usr/local/libexec/git-core/git-upload-pack.exe' || rm -f '/usr/local/libexec/git-core/git-upload-pack';  test '/usr/local/libexec/git-core/git-remote-testsvn' -ef '/usr/local/libexec/git-core/git-remote-testsvn.exe' || rm -f '/usr/local/libexec/git-core/git-remote-testsvn';  test '/usr/local/libexec/git-core/git-http-fetch' -ef '/usr/local/libexec/git-core/git-http-fetch.exe' || rm -f '/usr/local/libexec/git-core/git-http-fetch';  test '/usr/local/libexec/git-core/git-http-push' -ef '/usr/local/libexec/git-core/git-http-push.exe' || rm -f '/usr/local/libexec/git-core/git-http-push';  test '/usr/local/libexec/git-core/git-credential-cache' -ef '/usr/local/libexec/git-core/git-credential-cache.exe' || rm -f '/usr/local/libexec/git-core/git-credential-cache';  test '/usr/local/libexec/git-core/git-credential-cache--daemon' -ef '/usr/local/libexec/git-core/git-credential-cache--daemon.exe' || rm -f '/usr/local/libexec/git-core/git-credential-cache--daemon';  test '/usr/local/libexec/git-core/git-remote-http' -ef '/usr/local/libexec/git-core/git-remote-http.exe' || rm -f '/usr/local/libexec/git-core/git-remote-http';  test '/usr/local/libexec/git-core/git-remote-https' -ef '/usr/local/libexec/git-core/git-remote-https.exe' || rm -f '/usr/local/libexec/git-core/git-remote-https';  test '/usr/local/libexec/git-core/git-remote-ftp' -ef '/usr/local/libexec/git-core/git-remote-ftp.exe' || rm -f '/usr/local/libexec/git-core/git-remote-ftp';  test '/usr/local/libexec/git-core/git-remote-ftps' -ef '/usr/local/libexec/git-core/git-remote-ftps.exe' || rm -f '/usr/local/libexec/git-core/git-remote-ftps';  test '/usr/local/libexec/git-core/git-add' -ef '/usr/local/libexec/git-core/git-add.exe' || rm -f '/usr/local/libexec/git-core/git-add';  test '/usr/local/libexec/git-core/git-annotate' -ef '/usr/local/libexec/git-core/git-annotate.exe' || rm -f '/usr/local/libexec/git-core/git-annotate';  test '/usr/local/libexec/git-core/git-apply' -ef '/usr/local/libexec/git-core/git-apply.exe' || rm -f '/usr/local/libexec/git-core/git-apply';  test '/usr/local/libexec/git-core/git-archive' -ef '/usr/local/libexec/git-core/git-archive.exe' || rm -f '/usr/local/libexec/git-core/git-archive';  test '/usr/local/libexec/git-core/git-bisect--helper' -ef '/usr/local/libexec/git-core/git-bisect--helper.exe' || rm -f '/usr/local/libexec/git-core/git-bisect--helper';  test '/usr/local/libexec/git-core/git-blame' -ef '/usr/local/libexec/git-core/git-blame.exe' || rm -f '/usr/local/libexec/git-core/git-blame';  test '/usr/local/libexec/git-core/git-branch' -ef '/usr/local/libexec/git-core/git-branch.exe' || rm -f '/usr/local/libexec/git-core/git-branch';  test '/usr/local/libexec/git-core/git-bundle' -ef '/usr/local/libexec/git-core/git-bundle.exe' || rm -f '/usr/local/libexec/git-core/git-bundle';  test '/usr/local/libexec/git-core/git-cat-file' -ef '/usr/local/libexec/git-core/git-cat-file.exe' || rm -f '/usr/local/libexec/git-core/git-cat-file';  test '/usr/local/libexec/git-core/git-check-attr' -ef '/usr/local/libexec/git-core/git-check-attr.exe' || rm -f '/usr/local/libexec/git-core/git-check-attr';  test '/usr/local/libexec/git-core/git-check-ignore' -ef '/usr/local/libexec/git-core/git-check-ignore.exe' || rm -f '/usr/local/libexec/git-core/git-check-ignore';  test '/usr/local/libexec/git-core/git-check-mailmap' -ef '/usr/local/libexec/git-core/git-check-mailmap.exe' || rm -f '/usr/local/libexec/git-core/git-check-mailmap';  test '/usr/local/libexec/git-core/git-check-ref-format' -ef '/usr/local/libexec/git-core/git-check-ref-format.exe' || rm -f '/usr/local/libexec/git-core/git-check-ref-format';  test '/usr/local/libexec/git-core/git-checkout-index' -ef '/usr/local/libexec/git-core/git-checkout-index.exe' || rm -f '/usr/local/libexec/git-core/git-checkout-index';  test '/usr/local/libexec/git-core/git-checkout' -ef '/usr/local/libexec/git-core/git-checkout.exe' || rm -f '/usr/local/libexec/git-core/git-checkout';  test '/usr/local/libexec/git-core/git-clean' -ef '/usr/local/libexec/git-core/git-clean.exe' || rm -f '/usr/local/libexec/git-core/git-clean';  test '/usr/local/libexec/git-core/git-clone' -ef '/usr/local/libexec/git-core/git-clone.exe' || rm -f '/usr/local/libexec/git-core/git-clone';  test '/usr/local/libexec/git-core/git-column' -ef '/usr/local/libexec/git-core/git-column.exe' || rm -f '/usr/local/libexec/git-core/git-column';  test '/usr/local/libexec/git-core/git-commit-tree' -ef '/usr/local/libexec/git-core/git-commit-tree.exe' || rm -f '/usr/local/libexec/git-core/git-commit-tree';  test '/usr/local/libexec/git-core/git-commit' -ef '/usr/local/libexec/git-core/git-commit.exe' || rm -f '/usr/local/libexec/git-core/git-commit';  test '/usr/local/libexec/git-core/git-config' -ef '/usr/local/libexec/git-core/git-config.exe' || rm -f '/usr/local/libexec/git-core/git-config';  test '/usr/local/libexec/git-core/git-count-objects' -ef '/usr/local/libexec/git-core/git-count-objects.exe' || rm -f '/usr/local/libexec/git-core/git-count-objects';  test '/usr/local/libexec/git-core/git-credential' -ef '/usr/local/libexec/git-core/git-credential.exe' || rm -f '/usr/local/libexec/git-core/git-credential';  test '/usr/local/libexec/git-core/git-describe' -ef '/usr/local/libexec/git-core/git-describe.exe' || rm -f '/usr/local/libexec/git-core/git-describe';  test '/usr/local/libexec/git-core/git-diff-files' -ef '/usr/local/libexec/git-core/git-diff-files.exe' || rm -f '/usr/local/libexec/git-core/git-diff-files';  test '/usr/local/libexec/git-core/git-diff-index' -ef '/usr/local/libexec/git-core/git-diff-index.exe' || rm -f '/usr/local/libexec/git-core/git-diff-index';  test '/usr/local/libexec/git-core/git-diff-tree' -ef '/usr/local/libexec/git-core/git-diff-tree.exe' || rm -f '/usr/local/libexec/git-core/git-diff-tree';  test '/usr/local/libexec/git-core/git-diff' -ef '/usr/local/libexec/git-core/git-diff.exe' || rm -f '/usr/local/libexec/git-core/git-diff';  test '/usr/local/libexec/git-core/git-fast-export' -ef '/usr/local/libexec/git-core/git-fast-export.exe' || rm -f '/usr/local/libexec/git-core/git-fast-export';  test '/usr/local/libexec/git-core/git-fetch-pack' -ef '/usr/local/libexec/git-core/git-fetch-pack.exe' || rm -f '/usr/local/libexec/git-core/git-fetch-pack';  test '/usr/local/libexec/git-core/git-fetch' -ef '/usr/local/libexec/git-core/git-fetch.exe' || rm -f '/usr/local/libexec/git-core/git-fetch';  test '/usr/local/libexec/git-core/git-fmt-merge-msg' -ef '/usr/local/libexec/git-core/git-fmt-merge-msg.exe' || rm -f '/usr/local/libexec/git-core/git-fmt-merge-msg';  test '/usr/local/libexec/git-core/git-for-each-ref' -ef '/usr/local/libexec/git-core/git-for-each-ref.exe' || rm -f '/usr/local/libexec/git-core/git-for-each-ref';  test '/usr/local/libexec/git-core/git-fsck' -ef '/usr/local/libexec/git-core/git-fsck.exe' || rm -f '/usr/local/libexec/git-core/git-fsck';  test '/usr/local/libexec/git-core/git-gc' -ef '/usr/local/libexec/git-core/git-gc.exe' || rm -f '/usr/local/libexec/git-core/git-gc';  test '/usr/local/libexec/git-core/git-grep' -ef '/usr/local/libexec/git-core/git-grep.exe' || rm -f '/usr/local/libexec/git-core/git-grep';  test '/usr/local/libexec/git-core/git-hash-object' -ef '/usr/local/libexec/git-core/git-hash-object.exe' || rm -f '/usr/local/libexec/git-core/git-hash-object';  test '/usr/local/libexec/git-core/git-help' -ef '/usr/local/libexec/git-core/git-help.exe' || rm -f '/usr/local/libexec/git-core/git-help';  test '/usr/local/libexec/git-core/git-index-pack' -ef '/usr/local/libexec/git-core/git-index-pack.exe' || rm -f '/usr/local/libexec/git-core/git-index-pack';  test '/usr/local/libexec/git-core/git-init-db' -ef '/usr/local/libexec/git-core/git-init-db.exe' || rm -f '/usr/local/libexec/git-core/git-init-db';  test '/usr/local/libexec/git-core/git-log' -ef '/usr/local/libexec/git-core/git-log.exe' || rm -f '/usr/local/libexec/git-core/git-log';  test '/usr/local/libexec/git-core/git-ls-files' -ef '/usr/local/libexec/git-core/git-ls-files.exe' || rm -f '/usr/local/libexec/git-core/git-ls-files';  test '/usr/local/libexec/git-core/git-ls-remote' -ef '/usr/local/libexec/git-core/git-ls-remote.exe' || rm -f '/usr/local/libexec/git-core/git-ls-remote';  test '/usr/local/libexec/git-core/git-ls-tree' -ef '/usr/local/libexec/git-core/git-ls-tree.exe' || rm -f '/usr/local/libexec/git-core/git-ls-tree';  test '/usr/local/libexec/git-core/git-mailinfo' -ef '/usr/local/libexec/git-core/git-mailinfo.exe' || rm -f '/usr/local/libexec/git-core/git-mailinfo';  test '/usr/local/libexec/git-core/git-mailsplit' -ef '/usr/local/libexec/git-core/git-mailsplit.exe' || rm -f '/usr/local/libexec/git-core/git-mailsplit';  test '/usr/local/libexec/git-core/git-merge' -ef '/usr/local/libexec/git-core/git-merge.exe' || rm -f '/usr/local/libexec/git-core/git-merge';  test '/usr/local/libexec/git-core/git-merge-base' -ef '/usr/local/libexec/git-core/git-merge-base.exe' || rm -f '/usr/local/libexec/git-core/git-merge-base';  test '/usr/local/libexec/git-core/git-merge-file' -ef '/usr/local/libexec/git-core/git-merge-file.exe' || rm -f '/usr/local/libexec/git-core/git-merge-file';  test '/usr/local/libexec/git-core/git-merge-index' -ef '/usr/local/libexec/git-core/git-merge-index.exe' || rm -f '/usr/local/libexec/git-core/git-merge-index';  test '/usr/local/libexec/git-core/git-merge-ours' -ef '/usr/local/libexec/git-core/git-merge-ours.exe' || rm -f '/usr/local/libexec/git-core/git-merge-ours';  test '/usr/local/libexec/git-core/git-merge-recursive' -ef '/usr/local/libexec/git-core/git-merge-recursive.exe' || rm -f '/usr/local/libexec/git-core/git-merge-recursive';  test '/usr/local/libexec/git-core/git-merge-tree' -ef '/usr/local/libexec/git-core/git-merge-tree.exe' || rm -f '/usr/local/libexec/git-core/git-merge-tree';  test '/usr/local/libexec/git-core/git-mktag' -ef '/usr/local/libexec/git-core/git-mktag.exe' || rm -f '/usr/local/libexec/git-core/git-mktag';  test '/usr/local/libexec/git-core/git-mktree' -ef '/usr/local/libexec/git-core/git-mktree.exe' || rm -f '/usr/local/libexec/git-core/git-mktree';  test '/usr/local/libexec/git-core/git-mv' -ef '/usr/local/libexec/git-core/git-mv.exe' || rm -f '/usr/local/libexec/git-core/git-mv';  test '/usr/local/libexec/git-core/git-name-rev' -ef '/usr/local/libexec/git-core/git-name-rev.exe' || rm -f '/usr/local/libexec/git-core/git-name-rev';  test '/usr/local/libexec/git-core/git-notes' -ef '/usr/local/libexec/git-core/git-notes.exe' || rm -f '/usr/local/libexec/git-core/git-notes';  test '/usr/local/libexec/git-core/git-pack-objects' -ef '/usr/local/libexec/git-core/git-pack-objects.exe' || rm -f '/usr/local/libexec/git-core/git-pack-objects';  test '/usr/local/libexec/git-core/git-pack-redundant' -ef '/usr/local/libexec/git-core/git-pack-redundant.exe' || rm -f '/usr/local/libexec/git-core/git-pack-redundant';  test '/usr/local/libexec/git-core/git-pack-refs' -ef '/usr/local/libexec/git-core/git-pack-refs.exe' || rm -f '/usr/local/libexec/git-core/git-pack-refs';  test '/usr/local/libexec/git-core/git-patch-id' -ef '/usr/local/libexec/git-core/git-patch-id.exe' || rm -f '/usr/local/libexec/git-core/git-patch-id';  test '/usr/local/libexec/git-core/git-prune-packed' -ef '/usr/local/libexec/git-core/git-prune-packed.exe' || rm -f '/usr/local/libexec/git-core/git-prune-packed';  test '/usr/local/libexec/git-core/git-prune' -ef '/usr/local/libexec/git-core/git-prune.exe' || rm -f '/usr/local/libexec/git-core/git-prune';  test '/usr/local/libexec/git-core/git-push' -ef '/usr/local/libexec/git-core/git-push.exe' || rm -f '/usr/local/libexec/git-core/git-push';  test '/usr/local/libexec/git-core/git-read-tree' -ef '/usr/local/libexec/git-core/git-read-tree.exe' || rm -f '/usr/local/libexec/git-core/git-read-tree';  test '/usr/local/libexec/git-core/git-receive-pack' -ef '/usr/local/libexec/git-core/git-receive-pack.exe' || rm -f '/usr/local/libexec/git-core/git-receive-pack';  test '/usr/local/libexec/git-core/git-reflog' -ef '/usr/local/libexec/git-core/git-reflog.exe' || rm -f '/usr/local/libexec/git-core/git-reflog';  test '/usr/local/libexec/git-core/git-remote' -ef '/usr/local/libexec/git-core/git-remote.exe' || rm -f '/usr/local/libexec/git-core/git-remote';  test '/usr/local/libexec/git-core/git-remote-ext' -ef '/usr/local/libexec/git-core/git-remote-ext.exe' || rm -f '/usr/local/libexec/git-core/git-remote-ext';  test '/usr/local/libexec/git-core/git-remote-fd' -ef '/usr/local/libexec/git-core/git-remote-fd.exe' || rm -f '/usr/local/libexec/git-core/git-remote-fd';  test '/usr/local/libexec/git-core/git-repack' -ef '/usr/local/libexec/git-core/git-repack.exe' || rm -f '/usr/local/libexec/git-core/git-repack';  test '/usr/local/libexec/git-core/git-replace' -ef '/usr/local/libexec/git-core/git-replace.exe' || rm -f '/usr/local/libexec/git-core/git-replace';  test '/usr/local/libexec/git-core/git-rerere' -ef '/usr/local/libexec/git-core/git-rerere.exe' || rm -f '/usr/local/libexec/git-core/git-rerere';  test '/usr/local/libexec/git-core/git-reset' -ef '/usr/local/libexec/git-core/git-reset.exe' || rm -f '/usr/local/libexec/git-core/git-reset';  test '/usr/local/libexec/git-core/git-rev-list' -ef '/usr/local/libexec/git-core/git-rev-list.exe' || rm -f '/usr/local/libexec/git-core/git-rev-list';  test '/usr/local/libexec/git-core/git-rev-parse' -ef '/usr/local/libexec/git-core/git-rev-parse.exe' || rm -f '/usr/local/libexec/git-core/git-rev-parse';  test '/usr/local/libexec/git-core/git-revert' -ef '/usr/local/libexec/git-core/git-revert.exe' || rm -f '/usr/local/libexec/git-core/git-revert';  test '/usr/local/libexec/git-core/git-rm' -ef '/usr/local/libexec/git-core/git-rm.exe' || rm -f '/usr/local/libexec/git-core/git-rm';  test '/usr/local/libexec/git-core/git-send-pack' -ef '/usr/local/libexec/git-core/git-send-pack.exe' || rm -f '/usr/local/libexec/git-core/git-send-pack';  test '/usr/local/libexec/git-core/git-shortlog' -ef '/usr/local/libexec/git-core/git-shortlog.exe' || rm -f '/usr/local/libexec/git-core/git-shortlog';  test '/usr/local/libexec/git-core/git-show-branch' -ef '/usr/local/libexec/git-core/git-show-branch.exe' || rm -f '/usr/local/libexec/git-core/git-show-branch';  test '/usr/local/libexec/git-core/git-show-ref' -ef '/usr/local/libexec/git-core/git-show-ref.exe' || rm -f '/usr/local/libexec/git-core/git-show-ref';  test '/usr/local/libexec/git-core/git-stripspace' -ef '/usr/local/libexec/git-core/git-stripspace.exe' || rm -f '/usr/local/libexec/git-core/git-stripspace';  test '/usr/local/libexec/git-core/git-symbolic-ref' -ef '/usr/local/libexec/git-core/git-symbolic-ref.exe' || rm -f '/usr/local/libexec/git-core/git-symbolic-ref';  test '/usr/local/libexec/git-core/git-tag' -ef '/usr/local/libexec/git-core/git-tag.exe' || rm -f '/usr/local/libexec/git-core/git-tag';  test '/usr/local/libexec/git-core/git-tar-tree' -ef '/usr/local/libexec/git-core/git-tar-tree.exe' || rm -f '/usr/local/libexec/git-core/git-tar-tree';  test '/usr/local/libexec/git-core/git-unpack-file' -ef '/usr/local/libexec/git-core/git-unpack-file.exe' || rm -f '/usr/local/libexec/git-core/git-unpack-file';  test '/usr/local/libexec/git-core/git-unpack-objects' -ef '/usr/local/libexec/git-core/git-unpack-objects.exe' || rm -f '/usr/local/libexec/git-core/git-unpack-objects';  test '/usr/local/libexec/git-core/git-update-index' -ef '/usr/local/libexec/git-core/git-update-index.exe' || rm -f '/usr/local/libexec/git-core/git-update-index';  test '/usr/local/libexec/git-core/git-update-ref' -ef '/usr/local/libexec/git-core/git-update-ref.exe' || rm -f '/usr/local/libexec/git-core/git-update-ref';  test '/usr/local/libexec/git-core/git-update-server-info' -ef '/usr/local/libexec/git-core/git-update-server-info.exe' || rm -f '/usr/local/libexec/git-core/git-update-server-info';  test '/usr/local/libexec/git-core/git-upload-archive' -ef '/usr/local/libexec/git-core/git-upload-archive.exe' || rm -f '/usr/local/libexec/git-core/git-upload-archive';  test '/usr/local/libexec/git-core/git-var' -ef '/usr/local/libexec/git-core/git-var.exe' || rm -f '/usr/local/libexec/git-core/git-var';  test '/usr/local/libexec/git-core/git-verify-pack' -ef '/usr/local/libexec/git-core/git-verify-pack.exe' || rm -f '/usr/local/libexec/git-core/git-verify-pack';  test '/usr/local/libexec/git-core/git-verify-tag' -ef '/usr/local/libexec/git-core/git-verify-tag.exe' || rm -f '/usr/local/libexec/git-core/git-verify-tag';  test '/usr/local/libexec/git-core/git-write-tree' -ef '/usr/local/libexec/git-core/git-write-tree.exe' || rm -f '/usr/local/libexec/git-core/git-write-tree';  test '/usr/local/libexec/git-core/git-cherry' -ef '/usr/local/libexec/git-core/git-cherry.exe' || rm -f '/usr/local/libexec/git-core/git-cherry';  test '/usr/local/libexec/git-core/git-cherry-pick' -ef '/usr/local/libexec/git-core/git-cherry-pick.exe' || rm -f '/usr/local/libexec/git-core/git-cherry-pick';  test '/usr/local/libexec/git-core/git-format-patch' -ef '/usr/local/libexec/git-core/git-format-patch.exe' || rm -f '/usr/local/libexec/git-core/git-format-patch';  test '/usr/local/libexec/git-core/git-fsck-objects' -ef '/usr/local/libexec/git-core/git-fsck-objects.exe' || rm -f '/usr/local/libexec/git-core/git-fsck-objects';  test '/usr/local/libexec/git-core/git-get-tar-commit-id' -ef '/usr/local/libexec/git-core/git-get-tar-commit-id.exe' || rm -f '/usr/local/libexec/git-core/git-get-tar-commit-id';  test '/usr/local/libexec/git-core/git-init' -ef '/usr/local/libexec/git-core/git-init.exe' || rm -f '/usr/local/libexec/git-core/git-init';  test '/usr/local/libexec/git-core/git-merge-subtree' -ef '/usr/local/libexec/git-core/git-merge-subtree.exe' || rm -f '/usr/local/libexec/git-core/git-merge-subtree';  test '/usr/local/libexec/git-core/git-peek-remote' -ef '/usr/local/libexec/git-core/git-peek-remote.exe' || rm -f '/usr/local/libexec/git-core/git-peek-remote';  test '/usr/local/libexec/git-core/git-repo-config' -ef '/usr/local/libexec/git-core/git-repo-config.exe' || rm -f '/usr/local/libexec/git-core/git-repo-config';  test '/usr/local/libexec/git-core/git-show' -ef '/usr/local/libexec/git-core/git-show.exe' || rm -f '/usr/local/libexec/git-core/git-show';  test '/usr/local/libexec/git-core/git-stage' -ef '/usr/local/libexec/git-core/git-stage.exe' || rm -f '/usr/local/libexec/git-core/git-stage';  test '/usr/local/libexec/git-core/git-status' -ef '/usr/local/libexec/git-core/git-status.exe' || rm -f '/usr/local/libexec/git-core/git-status';  test '/usr/local/libexec/git-core/git-whatchanged' -ef '/usr/local/libexec/git-core/git-whatchanged.exe' || rm -f '/usr/local/libexec/git-core/git-whatchanged';  test '/usr/local/libexec/git-core/git' -ef '/usr/local/libexec/git-core/git.exe' || rm -f '/usr/local/libexec/git-core/git';
bindir=$(cd '/usr/local/bin' && pwd) && \
execdir=$(cd '/usr/local/libexec/git-core' && pwd) && \
{ test "$bindir/" = "$execdir/" || \
  for p in git.exe git-shell.exe git-upload-pack.exe git-cvsserver; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$bindir/$p" "$execdir/$p" 2>/dev/null || \
        cp "$bindir/$p" "$execdir/$p" || exit; \
  done; \
} && \
for p in git-receive-pack.exe git-upload-archive.exe; do \
        rm -f "$bindir/$p" && \
        test -z "" && \
        ln "$bindir/git.exe" "$bindir/$p" 2>/dev/null || \
        ln -s "git.exe" "$bindir/$p" 2>/dev/null || \
        cp "$bindir/git.exe" "$bindir/$p" || exit; \
done && \
for p in  git-add.exe git-annotate.exe git-apply.exe git-archive.exe git-bisect--helper.exe git-blame.exe git-branch.exe git-bundle.exe git-cat-file.exe git-check-attr.exe git-check-ignore.exe git-check-mailmap.exe git-check-ref-format.exe git-checkout-index.exe git-checkout.exe git-clean.exe git-clone.exe git-column.exe git-commit-tree.exe git-commit.exe git-config.exe git-count-objects.exe git-credential.exe git-describe.exe git-diff-files.exe git-diff-index.exe git-diff-tree.exe git-diff.exe git-fast-export.exe git-fetch-pack.exe git-fetch.exe git-fmt-merge-msg.exe git-for-each-ref.exe git-fsck.exe git-gc.exe git-grep.exe git-hash-object.exe git-help.exe git-index-pack.exe git-init-db.exe git-log.exe git-ls-files.exe git-ls-remote.exe git-ls-tree.exe git-mailinfo.exe git-mailsplit.exe git-merge.exe git-merge-base.exe git-merge-file.exe git-merge-index.exe git-merge-ours.exe git-merge-recursive.exe git-merge-tree.exe git-mktag.exe git-mktree.exe git-mv.exe git-name-rev.exe git-notes.exe git-pack-objects.exe git-pack-redundant.exe git-pack-refs.exe git-patch-id.exe git-prune-packed.exe git-prune.exe git-push.exe git-read-tree.exe git-receive-pack.exe git-reflog.exe git-remote.exe git-remote-ext.exe git-remote-fd.exe git-repack.exe git-replace.exe git-rerere.exe git-reset.exe git-rev-list.exe git-rev-parse.exe git-revert.exe git-rm.exe git-send-pack.exe git-shortlog.exe git-show-branch.exe git-show-ref.exe git-stripspace.exe git-symbolic-ref.exe git-tag.exe git-tar-tree.exe git-unpack-file.exe git-unpack-objects.exe git-update-index.exe git-update-ref.exe git-update-server-info.exe git-upload-archive.exe git-var.exe git-verify-pack.exe git-verify-tag.exe git-write-tree.exe git-cherry.exe git-cherry-pick.exe git-format-patch.exe git-fsck-objects.exe git-get-tar-commit-id.exe git-init.exe git-merge-subtree.exe git-peek-remote.exe git-repo-config.exe git-show.exe git-stage.exe git-status.exe git-whatchanged.exe; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$execdir/git.exe" "$execdir/$p" 2>/dev/null || \
        ln -s "git.exe" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git.exe" "$execdir/$p" || exit; \
done && \
remote_curl_aliases="git-remote-https.exe git-remote-ftp.exe git-remote-ftps.exe" && \
for p in $remote_curl_aliases; do \
        rm -f "$execdir/$p" && \
        test -z "" && \
        ln "$execdir/git-remote-http.exe" "$execdir/$p" 2>/dev/null || \
        ln -s "git-remote-http.exe" "$execdir/$p" 2>/dev/null || \
        cp "$execdir/git-remote-http.exe" "$execdir/$p" || exit; \
done && \
./check_bindir "z$bindir" "z$execdir" "$bindir/git-add.exe"

$ git version
git version 1.7.9

$ which git
/usr/local/bin/git

$ where git
C:\cygwin\usr\local\bin\git.exe
C:\cygwin\bin\git.exe

$ windowscrap
-sh: windowscrap: command not found

$ mv /bin/git.exe /bin/git.cygwin.exe

$ git version
git version 1.8.5.rc3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment