<?xml version="1.0" encoding="UTF-8"?>
<commits type="array">
  <commit>
    <parents type="array">
      <parent>
        <id>3ddcb1981ba24a45c555152ecbd32b945c32a211</id>
      </parent>
    </parents>
    <author>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </author>
    <url>http://github.com/git/git/commit/a6dbf8814f433a7fbfa9cde6333c98019f6db1e4</url>
    <id>a6dbf8814f433a7fbfa9cde6333c98019f6db1e4</id>
    <committed-date>2009-09-22T22:26:27-07:00</committed-date>
    <authored-date>2009-09-13T13:38:48-07:00</authored-date>
    <message>pull: Clarify &quot;helpful&quot; message for another corner case

When the remote branch we asked for merging did not exist in the set of
fetched refs, we unconditionally hinted that it was because of lack of
configuration.  It is not necessarily so, and risks sending users for a
wild goose chase.

Make sure to check if that is indeed the case before telling a wild guess
to the user.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>2574d638b867d669fbeeab5912335fee8d54ee1e</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>9f040e9524c45a2f862b427ec78204625e09f50e</id>
      </parent>
    </parents>
    <author>
      <name>Thiago Farina</name>
      <email>tfransosi@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/3ddcb1981ba24a45c555152ecbd32b945c32a211</url>
    <id>3ddcb1981ba24a45c555152ecbd32b945c32a211</id>
    <committed-date>2009-09-22T19:40:05-07:00</committed-date>
    <authored-date>2009-09-22T16:48:06-07:00</authored-date>
    <message>Update &quot;describe&quot; documentation to match reality

A sample &quot;git describe -h&quot; did not match what the program actually says.

Signed-off-by: Thiago Farina &lt;tfransosi@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>e309ecabf783480a03883563417c12bcd77d62c6</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>59d5eeee9f7e0cb71c10bde3da0fa01c3b3dbf8d</id>
      </parent>
    </parents>
    <author>
      <name>SZEDER G&#225;bor</name>
      <email>szeder@ira.uka.de</email>
    </author>
    <url>http://github.com/git/git/commit/9f040e9524c45a2f862b427ec78204625e09f50e</url>
    <id>9f040e9524c45a2f862b427ec78204625e09f50e</id>
    <committed-date>2009-09-22T12:47:27-07:00</committed-date>
    <authored-date>2009-09-15T03:21:45-07:00</authored-date>
    <message>bash: teach 'git reset --patch'

Signed-off-by: SZEDER G&#225;bor &lt;szeder@ira.uka.de&gt;
Acked-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>01413275f8aa31e8e3fe0c88a89e7c5227fec9f4</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>918c03c2a7c8730dcfd413098b3dc05fa0f3166d</id>
      </parent>
    </parents>
    <author>
      <name>SZEDER G&#225;bor</name>
      <email>szeder@ira.uka.de</email>
    </author>
    <url>http://github.com/git/git/commit/59d5eeee9f7e0cb71c10bde3da0fa01c3b3dbf8d</url>
    <id>59d5eeee9f7e0cb71c10bde3da0fa01c3b3dbf8d</id>
    <committed-date>2009-09-22T12:47:26-07:00</committed-date>
    <authored-date>2009-09-15T03:21:44-07:00</authored-date>
    <message>bash: update 'git stash' completion

This update adds 'git stash (apply|pop) --quiet' and all options known
to 'git stash save', and handles the DWIMery from 3c2eb80f (stash:
simplify defaulting to &quot;save&quot; and reject unknown options, 2009-08-18).
Care is taken to avoid offering subcommands in the DWIM case.

Signed-off-by: SZEDER G&#225;bor &lt;szeder@ira.uka.de&gt;
Acked-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>56e0333d99b3784c28363d06a17b42f1dfb2bbbf</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>3696c4ce89d97c34566a4a89720cfdae2a86fa38</id>
      </parent>
    </parents>
    <author>
      <name>SZEDER G&#225;bor</name>
      <email>szeder@ira.uka.de</email>
    </author>
    <url>http://github.com/git/git/commit/918c03c2a7c8730dcfd413098b3dc05fa0f3166d</url>
    <id>918c03c2a7c8730dcfd413098b3dc05fa0f3166d</id>
    <committed-date>2009-09-22T12:47:26-07:00</committed-date>
    <authored-date>2009-09-15T03:21:43-07:00</authored-date>
    <message>bash: rename __git_find_subcommand() to __git_find_on_cmdline()

__git_find_subcommand() was originally meant to check whether
subcommands are already present on the command line.  But the code is
general enough to be used for checking the presence of command line
options as well, and the next commit will use it for that purpose, so
let's give it a more general name.

Signed-off-by: SZEDER G&#225;bor &lt;szeder@ira.uka.de&gt;
Acked-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>6312a54cb26c73ca16de46562551ec6971315af0</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f1e3156e627fa66714deea665c8f3585088b9695</id>
      </parent>
    </parents>
    <author>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </author>
    <url>http://github.com/git/git/commit/3696c4ce89d97c34566a4a89720cfdae2a86fa38</url>
    <id>3696c4ce89d97c34566a4a89720cfdae2a86fa38</id>
    <committed-date>2009-09-22T12:20:40-07:00</committed-date>
    <authored-date>2009-09-21T12:44:05-07:00</authored-date>
    <message>pay attention to DESTDIR when building with NO_PERL_MAKEMAKER

Building with prefix=/some/where and temporarily installing it to
elsewhere for tar'ing up is done with:

    make prefix=/some/where
    make prefix=/some/where DESTDIR=/else/where install

Make handcrafted perl/perl.mak without NO_PERL_MAKEMAKER honour DESTDIR.

Ancient ExtUtils::MakeMaker (pre 6.11?) has the same issue, but recent
versions of Perl ships with at leat 6.17; this patch does not address that
issue.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>484a9f07036a2a05a3f264304af88fde1d975f72</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>6426ee61c703f52ba0bea1064f028e64c7a67552</id>
      </parent>
    </parents>
    <author>
      <name>Jim Meyering</name>
      <email>meyering@redhat.com</email>
    </author>
    <url>http://github.com/git/git/commit/f1e3156e627fa66714deea665c8f3585088b9695</url>
    <id>f1e3156e627fa66714deea665c8f3585088b9695</id>
    <committed-date>2009-09-22T12:15:42-07:00</committed-date>
    <authored-date>2009-09-21T04:00:34-07:00</authored-date>
    <message>pre-commit.sample: add comment re tr portability; fix grammar

Add a comment explaining why square brackets around a tr range
are not only ok, but actually required in this case.
Correct spelling and grammar.

Signed-off-by: Jim Meyering &lt;meyering@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>a34d50ac2765204e49d50e5caaa946bd1e986c04</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a16753dc2e6f885fd30e570610c3e8cf355ecf04</id>
      </parent>
    </parents>
    <author>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </author>
    <url>http://github.com/git/git/commit/6426ee61c703f52ba0bea1064f028e64c7a67552</url>
    <id>6426ee61c703f52ba0bea1064f028e64c7a67552</id>
    <committed-date>2009-09-21T18:14:12-07:00</committed-date>
    <authored-date>2009-09-21T18:14:12-07:00</authored-date>
    <message>Update Release Notes to 1.6.5

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>642a77143b3782ad8d2759dc771f87a6d8d8a6dc</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>0984e3a77246c536f938f53ecded99533fb31667</id>
      </parent>
    </parents>
    <author>
      <name>Johannes Sixt</name>
      <email>j6t@kdbg.org</email>
    </author>
    <url>http://github.com/git/git/commit/a16753dc2e6f885fd30e570610c3e8cf355ecf04</url>
    <id>a16753dc2e6f885fd30e570610c3e8cf355ecf04</id>
    <committed-date>2009-09-21T00:36:12-07:00</committed-date>
    <authored-date>2009-09-21T00:34:58-07:00</authored-date>
    <message>test-genrandom: ensure stdout is set to _O_BINARY on Windows

Commit a6ca8c62 (Set _O_BINARY as default fmode for both MinGW and MSVC)
removed the definition of _CRT_fmode from mingw.c. Before this commit,
since test-genrandom is linked against libgit.a, the MinGW process
initialization code would pick up that definition of _CRT_fmode, which was
initialized to _O_BINARY. After this commit, however, text mode is used
for std(in|out|err) because it is the default in absence of _CRT_fmode.
In order to fix that, we must use git-compat-util.h, which overrides
main() to set the mode to binary.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>cc2bb34b6ea5cad70ba1f8c99c5c8f14eb03cd97</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>6e4ece61ff9c4c0a0c7eac43fca74ca1b5548e98</id>
      </parent>
      <parent>
        <id>9bedb0e185332f9f8fb5e1c18bb5aff9964145a6</id>
      </parent>
    </parents>
    <author>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </author>
    <url>http://github.com/git/git/commit/0984e3a77246c536f938f53ecded99533fb31667</url>
    <id>0984e3a77246c536f938f53ecded99533fb31667</id>
    <committed-date>2009-09-20T23:47:52-07:00</committed-date>
    <authored-date>2009-09-20T23:47:52-07:00</authored-date>
    <message>Merge git://git.kernel.org/pub/scm/gitk/gitk

* git://git.kernel.org/pub/scm/gitk/gitk:
  gitk: Work around leftover temporary save file
  gitk: Show diff of commits at end of compare-commits output
  gitk: Update Swedish translation (280t0f0u)</message>
    <tree>ccc9a03bba20d2452050be826dd54a4588bd01cc</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>c21398be6d7b112fa3a041b4b7d869d9954bf753</id>
      </parent>
    </parents>
    <author>
      <name>Pat Thoyts</name>
      <email>patthoyts@users.sourceforge.net</email>
    </author>
    <url>http://github.com/git/git/commit/9bedb0e185332f9f8fb5e1c18bb5aff9964145a6</url>
    <id>9bedb0e185332f9f8fb5e1c18bb5aff9964145a6</id>
    <committed-date>2009-09-20T20:04:48-07:00</committed-date>
    <authored-date>2009-09-15T02:26:30-07:00</authored-date>
    <message>gitk: Work around leftover temporary save file

If a file exists and is hidden on Windows the Tcl open command will
fail as the attributes provided in the CREAT call fail to match those
of the existing file.  Forcing removal of the temporary file before we
begin solves any problems caused by previous failures to save the
application settings.  An alternative would be to remove the hidden
attribute before calling 'open'.

Signed-off-by: Pat Thoyts &lt;patthoyts@users.sourceforge.net&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;</message>
    <tree>ca20781e00ed3dd67f41d4384d7995ad430c52a4</tree>
    <committer>
      <name>Paul Mackerras</name>
      <email>paulus@samba.org</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f5c3178151e3963cc8cf73fdc200831850b7a632</id>
      </parent>
      <parent>
        <id>bb8cccd01762d26c832b85d3b09798650e294c5f</id>
      </parent>
    </parents>
    <author>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </author>
    <url>http://github.com/git/git/commit/6e4ece61ff9c4c0a0c7eac43fca74ca1b5548e98</url>
    <id>6e4ece61ff9c4c0a0c7eac43fca74ca1b5548e98</id>
    <committed-date>2009-09-20T12:13:47-07:00</committed-date>
    <authored-date>2009-09-20T12:13:47-07:00</authored-date>
    <message>Merge branch 'maint'

* maint:
  push: Correctly initialize nonfastforward in transport_push.</message>
    <tree>2f70584aff68fbf2fa20d55db26a913769ef1600</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>cb572206d9dac4ba52878e7e1a4a7028d85707ab</id>
      </parent>
    </parents>
    <author>
      <name>Matthieu Moy</name>
      <email>Matthieu.Moy@imag.fr</email>
    </author>
    <url>http://github.com/git/git/commit/bb8cccd01762d26c832b85d3b09798650e294c5f</url>
    <id>bb8cccd01762d26c832b85d3b09798650e294c5f</id>
    <committed-date>2009-09-20T12:11:29-07:00</committed-date>
    <authored-date>2009-09-20T10:33:20-07:00</authored-date>
    <message>push: Correctly initialize nonfastforward in transport_push.

The variable is assigned unconditionally in print_push_status, but
print_push_status is not reached by all codepaths. In particular, this
fixes a bug where &quot;git push ... nonexisting-branch&quot; was complaining about
non-fast forward.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>364585792b070a305d72eb6dcb4d5ddc9fb68c55</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>259d87c354954e8ee3b241dce1393c27186e8ee7</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/f5c3178151e3963cc8cf73fdc200831850b7a632</url>
    <id>f5c3178151e3963cc8cf73fdc200831850b7a632</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:31-07:00</authored-date>
    <message>Tag GIT_VERSION when Git is built with MSVC

This may help us debug issues on Windows, as we now can build Git
natively on Windows with both MinGW and MSVC.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>95f5f3b430d1fc108bdc6dce3f047cb49e584faf</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a2c6bf0e7661a4e6eafe7810cca1cd08187d311f</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/259d87c354954e8ee3b241dce1393c27186e8ee7</url>
    <id>259d87c354954e8ee3b241dce1393c27186e8ee7</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:30-07:00</authored-date>
    <message>Add scripts to generate projects for other buildsystems (MSVC vcproj, QMake)

These scripts generate projects for the MSVC IDE (.vcproj files) or
QMake (.pro files), based on the output of a 'make -n MSVC=1 V=1' run.

This enables us to simply do the necesarry changes in the Makefile, and you
can update the other buildsystems by regenerating the files. Keeping the
other buildsystems up-to-date with main development.

The generator system is designed to easily drop in pm's for other
buildsystems as well, if someone has an itch. However, the focus has been
Windows development, so the 'engine' might need patches to support any
platform.

Also add some .gitignore entries for MSVC files.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>c895518b9e1e09c68e1143abf9743b4cd7822d8e</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>164a5e3faab931a6c6459b56acae7f91dde6337d</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/a2c6bf0e7661a4e6eafe7810cca1cd08187d311f</url>
    <id>a2c6bf0e7661a4e6eafe7810cca1cd08187d311f</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:29-07:00</authored-date>
    <message>Add README for MSVC build

Based on original README patch from Frank Li, describe the steps
to build git with VS2008 (aka MSVC).

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>912cbb6d862cf245c5951a513257b3e4a9d719b6</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>386ac45102df71e186d4de62b63a41ae35e71089</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/164a5e3faab931a6c6459b56acae7f91dde6337d</url>
    <id>164a5e3faab931a6c6459b56acae7f91dde6337d</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:28-07:00</authored-date>
    <message>Add MSVC to Makefile

Enable MSVC builds with GNU Make by simply calling
    make MSVC=1
(Debug build possible by adding DEBUG=1 as well)

Two scripts, clink.pl and lib.pl, are used to convert certain GCC
specific command line options into something MSVC understands.
By building for MSVC with GNU Make, we can ensure that the MSVC
port always follows the latest code, and does not lag behind due
to unmaintained NMake Makefile or IDE projects.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>d7c27149d5635529df9f2935411317882cb700c0</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>435bdf8c7ffa493f8f6f2e8f329f8cc22db16ce6</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/386ac45102df71e186d4de62b63a41ae35e71089</url>
    <id>386ac45102df71e186d4de62b63a41ae35e71089</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:27-07:00</authored-date>
    <message>Define strncasecmp and ftruncate for MSVC

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>b27cdef78900b5f1e4cc2f987f324708e85ece81</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>d75f8e61315cc502c34aec6600db00a7c7192ffd</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/435bdf8c7ffa493f8f6f2e8f329f8cc22db16ce6</url>
    <id>435bdf8c7ffa493f8f6f2e8f329f8cc22db16ce6</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:26-07:00</authored-date>
    <message>Make usage of windows.h lean and mean

Centralize the include of windows.h in git-compat-util.h, turn on
WIN32_LEAN_AND_MEAN to avoid including plenty of other header files
which is not needed in Git. Also ensure we load winsock2.h first,
so we don't load the older winsock definitions at a later stage,
since they contain duplicate definitions.

When moving windows.h into git-compat-util.h, we need to protect
the definition of struct pollfd in mingw.h, since this file is used
by both MinGW and MSVC, and the latter defines this struct in
winsock2.h.

We need to keep the windows.h include in compat/win32.h, since its
shared by both MinGW and Cygwin, and we're not touching Cygwin in
this commit. The include in git-compat-util.h is protected with an
ifdef WIN32, which is not the case when compiling for Cygwin.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>99c9c20ae9a3913ea1fbf801ca1821fcb2b5e00c</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>16fe1e03694e75a3923c3a757ec946aa6098aec7</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/d75f8e61315cc502c34aec6600db00a7c7192ffd</url>
    <id>d75f8e61315cc502c34aec6600db00a7c7192ffd</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:25-07:00</authored-date>
    <message>Add platform files for porting to MSVC

Add msvc.c and msvc.h to build git under MSVC.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>7f422cee37e8095bae10c5a9869e010a65492ed3</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>55fcb06482c9971d95f3575274a8617c0d9f5d92</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/16fe1e03694e75a3923c3a757ec946aa6098aec7</url>
    <id>16fe1e03694e75a3923c3a757ec946aa6098aec7</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:24-07:00</authored-date>
    <message>Add MinGW header files to build git with MSVC

Added the header files dirent.h, unistd.h and utime.h
Add alloca.h, which simply includes malloc.h, which defines alloca().

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>bfd716656967aff84721e72f18aa9039987759e6</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>71064e3f86fbf2eb5c2b55a3024051f9542ae229</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/55fcb06482c9971d95f3575274a8617c0d9f5d92</url>
    <id>55fcb06482c9971d95f3575274a8617c0d9f5d92</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:23-07:00</authored-date>
    <message>Add empty header files for MSVC port

MSVC lacks many of the header files included by git-compat-util.h; add
blank header files for these instead of going ifdef crazy.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>f2129abcbab2728eaab0343f25e35317ca7cd3b9</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>d7fa500fb598d725bda3427535e87f06caf93ee8</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/71064e3f86fbf2eb5c2b55a3024051f9542ae229</url>
    <id>71064e3f86fbf2eb5c2b55a3024051f9542ae229</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:22-07:00</authored-date>
    <message>Test for WIN32 instead of __MINGW32_

The code which is conditional on MinGW32 is actually conditional on Windows.
Use the WIN32 symbol, which is defined by the MINGW32 and MSVC environments,
but not by Cygwin.

Define SNPRINTF_SIZE_CORR=1 for MSVC too, as its vsnprintf function does
not add NUL at the end of the buffer if the result fits the buffer size
exactly.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>9287bbdfe8a2196470fa7d5647f65baf82d6bbc9</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a6ca8c62467570d5d227eba4f2b838ce4b9940e8</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/d7fa500fb598d725bda3427535e87f06caf93ee8</url>
    <id>d7fa500fb598d725bda3427535e87f06caf93ee8</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:21-07:00</authored-date>
    <message>Fix __stdcall placement and function prototype

MSVC requires __stdcall to be between the functions return value and the
function name, and that the function pointer type is in the form of

    return_type (WINAPI *function_name)(arguments...)

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>763fd4ec5dff827dd9248c4619e6840769f16773</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>3f83bf3784d49e162532212230a271a8cc8edbf0</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>marius.storm-olsen@nokia.com</email>
    </author>
    <url>http://github.com/git/git/commit/a6ca8c62467570d5d227eba4f2b838ce4b9940e8</url>
    <id>a6ca8c62467570d5d227eba4f2b838ce4b9940e8</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:20-07:00</authored-date>
    <message>Set _O_BINARY as default fmode for both MinGW and MSVC

MinGW set the _CRT_fmode to set both the default fmode and _O_BINARY on
stdin/stdout/stderr. Rather use the main() define in mingw.h to set this
for both MinGW and MSVC.

This will ensure that a MinGW and MSVC build will handle input and output
identically.

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>f2e77f5142850d4987fb7434b1c0074091184195</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>627735f9bf322c5c964b396f4a55d14e18d34aa2</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/3f83bf3784d49e162532212230a271a8cc8edbf0</url>
    <id>3f83bf3784d49e162532212230a271a8cc8edbf0</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:19-07:00</authored-date>
    <message>Change regerror() declaration from K&amp;R style to ANSI C (C89)

The MSVC headers typedef errcode as int, and thus confused the compiler in
the K&amp;R style definition. ANSI style deconfuses it.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>717c5f2c5e82ff8588512afc70010fd0b329f64c</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>0d30ad71fa094dd89ae31b3381c2e63a41119c76</id>
      </parent>
    </parents>
    <author>
      <name>Marius Storm-Olsen</name>
      <email>mstormo@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/627735f9bf322c5c964b396f4a55d14e18d34aa2</url>
    <id>627735f9bf322c5c964b396f4a55d14e18d34aa2</id>
    <committed-date>2009-09-18T20:00:42-07:00</committed-date>
    <authored-date>2009-09-16T01:20:18-07:00</authored-date>
    <message>Add include guards to compat/win32.h

Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>71d021832e01452c14b51eb2294b267ebfb27bec</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>812bdbc31b246fcd5f3293e4dbac27eaec1ef4fa</id>
      </parent>
    </parents>
    <author>
      <name>Frank Li</name>
      <email>lznuaa@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/0d30ad71fa094dd89ae31b3381c2e63a41119c76</url>
    <id>0d30ad71fa094dd89ae31b3381c2e63a41119c76</id>
    <committed-date>2009-09-18T20:00:41-07:00</committed-date>
    <authored-date>2009-09-16T01:20:17-07:00</authored-date>
    <message>Avoid declaration after statement

MSVC does not understand this C99 style.

Signed-off-by: Frank Li &lt;lznuaa@gmail.com&gt;
Signed-off-by: Marius Storm-Olsen &lt;mstormo@gmail.com&gt;
Acked-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>83d47d51f0d0598e9cea631273b4cdd317957abc</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>1f986c4ac4df6fcac4b19bc9cd3a8b6c8f0ffdea</id>
      </parent>
    </parents>
    <author>
      <name>Thiago Farina</name>
      <email>tfransosi@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/812bdbc31b246fcd5f3293e4dbac27eaec1ef4fa</url>
    <id>812bdbc31b246fcd5f3293e4dbac27eaec1ef4fa</id>
    <committed-date>2009-09-18T19:48:48-07:00</committed-date>
    <authored-date>2009-09-18T12:11:52-07:00</authored-date>
    <message>pack-objects: remove SP at the end of usage string

These spaces immediately before the end of lines are unnecessary.

While at it, instead of using a single string literal with backslashes
at end of each line, split the lines into individual string literals
and tell the compiler to concatenate them.

Signed-off-by: Thiago Farina &lt;tfransosi@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>fada4fead8571a3c25cfca79dfd189bf4842314a</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>e481b1d8db9947681a5c124545ef06951f42155d</id>
      </parent>
    </parents>
    <author>
      <name>Thiago Farina</name>
      <email>tfransosi@gmail.com</email>
    </author>
    <url>http://github.com/git/git/commit/1f986c4ac4df6fcac4b19bc9cd3a8b6c8f0ffdea</url>
    <id>1f986c4ac4df6fcac4b19bc9cd3a8b6c8f0ffdea</id>
    <committed-date>2009-09-18T19:47:15-07:00</committed-date>
    <authored-date>2009-09-17T10:20:53-07:00</authored-date>
    <message>Update the usage bundle string.

&quot;git bundle -h&quot; gives a single long line that is hard to read.  Rewrite it
into a multi-line format similar to the one used by other commands, e.g
&quot;git stash -h&quot;.

Signed-off-by: Thiago Farina &lt;tfransosi@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;</message>
    <tree>12afcdd057ebe4127ac01549a1157d7926befda5</tree>
    <committer>
      <name>Junio C Hamano</name>
      <email>gitster@pobox.com</email>
    </committer>
  </commit>
</commits>
