Merge branch 'ad/cygwin-wants-rename' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 May 2016 21:24:11 +0000 (14:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 May 2016 21:24:12 +0000 (14:24 -0700)
commit1c07e3eaaf1b29e29da357f835eb15f1a4868f9b
tree16b049475fae854f68f8ad5fa7009bd1d59c38e8
parentd406f681fe8dc563b75c7c81aaff4f3379974010
parente53a64b982bd1351ad165c9ce6077c66fcc7118b
Merge branch 'ad/cygwin-wants-rename' into maint

On Cygwin, object creation uses the "create a temporary and then
rename it to the final name" pattern, not "create a temporary,
hardlink it to the final name and then unlink the temporary"
pattern.

This is necessary to use Git on Windows shared directories, and is
already enabled for the MinGW and plain Windows builds.  It also
has been used in Cygwin packaged versions of Git for quite a while.
See http://thread.gmane.org/gmane.comp.version-control.git/291853
($gmane/275680, $gmane/291853).

* ad/cygwin-wants-rename:
  config.mak.uname: Cygwin needs OBJECT_CREATION_USES_RENAMES
config.mak.uname