* Re: [PATCH 10/11] Add MSVC Project file
From: Pau Garcia i Quiles @ 2009-08-17 22:44 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Erik Faye-Lund, Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <alpine.DEB.1.00.0908172306080.8306@pacific.mpi-cbg.de>
(Sorry for answering some parts now, I didn't realize this text was
there before)
> But here's a clue: you will probably _never_ succeed in getting a
> replacement of the make-based build in git.git by the maintainer. Make is
> just too ubiquitous and well-established for that.
CMake does not replace Make, it runs a step before CMake
CMakeLists.txt
|
|
|
v
Makefile/.vcproj/Eclipse/XCode project/NMakefile
|
|
|
v
gcc/VC++/SunCC/whatever
|
|
v
ld/link.exe/whatever
(see page 10 in my slides for a nicer version :-) )
> If you succeed, I will ask you to do the same for Python, as you clearly
> proved by that point that you are a magician.
I can't do any Python whatsoever, sorry :-)
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Johannes Schindelin @ 2009-08-17 22:39 UTC (permalink / raw)
To: Thiago Farina; +Cc: Frank Li, git, msysgit
In-Reply-To: <a4c8a6d00908171527m778c12fq30d672d3c75cea77@mail.gmail.com>
Hi,
On Mon, 17 Aug 2009, Thiago Farina wrote:
> What about the common-cmds.h that is included in builtin-help.c? How it will
> be generated?
> I followed the instructions in ReadMe, then I can't compile because of this
> "missing" file.
Thiago, you do not want to top-post in both of the mailing-lists you sent
to. And you certainly do _not_ want to send 200K of unanswered, quoted
text:
> On Mon, Aug 17, 2009 at 1:05 PM, Frank Li <lznuaa@gmail.com> wrote:
>
> [200K that were not needed for Thiago's question]
Sorry, but I do not feel inclined to respond to your question if you do
not want to adher to netiquette that you must have seen when you first
posted to the msysGit mailing list.
Ciao,
Dscho
^ permalink raw reply
* Re: [PATCH] GIT_SSH does not override ssh in git-svn
From: Karthik R @ 2009-08-17 22:35 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
In-Reply-To: <7vhbw6qfuq.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Karthik R <karthikr@fastmail.fm> writes:
>
>
>> +my $git_ssh_user_set = 1 if defined $ENV{GIT_SSH};
>> +if ($git_ssh_user_set) {
>> + # If GIT_SSH is set, also set SVN_SSH...
>> + $ENV{SVN_SSH} = $ENV{GIT_SSH};
>> + # ... and escape \s in shell-variable on Windows
>> + if ($^O eq 'MSWin32' || $^O eq 'msys') {
>> + $ENV{SVN_SSH} =~ s/\\/\\\\/g;
>> + }
>> +}
>> +
>>
>
> Why not just
>
> if (defined $ENV{GIT_SSH}) {
> ...
>
> ???
>
>
>> $Git::SVN::Log::TZ = $ENV{TZ};
>> $ENV{TZ} = 'UTC';
>> $| = 1; # unbuffer STDOUT
>> --
>> 1.5.4.3
>>
I think I had trouble getting that to work correctly on my Windows XP
box... I didn't dig into that (my perl was exactly 1 day old).
Does this look better (it does to me) ? If so, I can resend the patch
addressing Dscho's comments too.
+# If GIT_SSH is set, also set SVN_SSH...
+$ENV{SVN_SSH} = $ENV{GIT_SSH} if defined $ENV{GIT_SSH};
+# ... and escape \s in shell-variable on Windows
+if ($^O eq 'MSWin32' || $^O eq 'msys') {
+ $ENV{SVN_SSH} =~ s/\\/\\\\/g if defined $ENV{SVN_SSH};
+}
+
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Thiago Farina @ 2009-08-17 22:29 UTC (permalink / raw)
To: Frank Li; +Cc: git, msysgit, Johannes.Schindelin
In-Reply-To: <a4c8a6d00908171527m778c12fq30d672d3c75cea77@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 68751 bytes --]
What about the common-cmds.h that is included in builtin-help.c? How it will
be generated?
I followed the instructions in ReadMe, then I can't compile because of this
"missing" file.
On Mon, Aug 17, 2009 at 7:27 PM, Thiago Farina <tfransosi@gmail.com> wrote:
> What about the common-cmds.h that is included in builtin-help.c? How it
> will be generated?
> I followed the instructions in ReadMe, then I can't compile because of this
> "missing" file.
>
> On Mon, Aug 17, 2009 at 1:05 PM, Frank Li <lznuaa@gmail.com> wrote:
>
>> Add libgit.vcproj to build common library.
>> Add git.vcproj to build git program.
>>
>> Signed-off-by: Frank Li <lznuaa@gmail.com>
>> ---
>> compat/vcbuild/git/git.vcproj | 197 +++++
>> compat/vcbuild/libgit/libgit.vcproj | 1347
>> +++++++++++++++++++++++++++++++++++
>> 2 files changed, 1544 insertions(+), 0 deletions(-)
>> create mode 100644 compat/vcbuild/git/git.vcproj
>> create mode 100644 compat/vcbuild/libgit/libgit.vcproj
>>
>> diff --git a/compat/vcbuild/git/git.vcproj b/compat/vcbuild/git/git.vcproj
>> new file mode 100644
>> index 0000000..6f85de3
>> --- /dev/null
>> +++ b/compat/vcbuild/git/git.vcproj
>> @@ -0,0 +1,197 @@
>> +<?xml version="1.0" encoding="gb2312"?>
>> +<VisualStudioProject
>> + ProjectType="Visual C++"
>> + Version="9.00"
>> + Name="git"
>> + ProjectGUID="{E3E30E51-C5AD-407B-AB43-985E4111474A}"
>> + RootNamespace="git"
>> + Keyword="Win32Proj"
>> + TargetFrameworkVersion="196613"
>> + >
>> + <Platforms>
>> + <Platform
>> + Name="Win32"
>> + />
>> + </Platforms>
>> + <ToolFiles>
>> + </ToolFiles>
>> + <Configurations>
>> + <Configuration
>> + Name="Debug|Win32"
>> +
>> OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
>> + IntermediateDirectory="$(ConfigurationName)"
>> + ConfigurationType="1"
>> + CharacterSet="0"
>> + >
>> + <Tool
>> + Name="VCPreBuildEventTool"
>> + />
>> + <Tool
>> + Name="VCCustomBuildTool"
>> + />
>> + <Tool
>> + Name="VCXMLDataGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCWebServiceProxyGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCMIDLTool"
>> + />
>> + <Tool
>> + Name="VCCLCompilerTool"
>> + Optimization="0"
>> +
>> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
>> +
>> PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
>> + MinimalRebuild="true"
>> + BasicRuntimeChecks="3"
>> + RuntimeLibrary="3"
>> + UsePrecompiledHeader="0"
>> + WarningLevel="3"
>> + DebugInformationFormat="4"
>> + />
>> + <Tool
>> + Name="VCManagedResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCPreLinkEventTool"
>> + />
>> + <Tool
>> + Name="VCLinkerTool"
>> + AdditionalDependencies="wininet.lib
>> ws2_32.lib "
>> + LinkIncremental="2"
>> + GenerateDebugInformation="true"
>> + SubSystem="1"
>> + TargetMachine="1"
>> + />
>> + <Tool
>> + Name="VCALinkTool"
>> + />
>> + <Tool
>> + Name="VCManifestTool"
>> + />
>> + <Tool
>> + Name="VCXDCMakeTool"
>> + />
>> + <Tool
>> + Name="VCBscMakeTool"
>> + />
>> + <Tool
>> + Name="VCFxCopTool"
>> + />
>> + <Tool
>> + Name="VCAppVerifierTool"
>> + />
>> + <Tool
>> + Name="VCPostBuildEventTool"
>> + />
>> + </Configuration>
>> + <Configuration
>> + Name="Release|Win32"
>> +
>> OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
>> + IntermediateDirectory="$(ConfigurationName)"
>> + ConfigurationType="1"
>> + CharacterSet="0"
>> + WholeProgramOptimization="1"
>> + >
>> + <Tool
>> + Name="VCPreBuildEventTool"
>> + />
>> + <Tool
>> + Name="VCCustomBuildTool"
>> + />
>> + <Tool
>> + Name="VCXMLDataGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCWebServiceProxyGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCMIDLTool"
>> + />
>> + <Tool
>> + Name="VCCLCompilerTool"
>> + Optimization="2"
>> + EnableIntrinsicFunctions="true"
>> +
>> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
>> +
>> PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
>> + RuntimeLibrary="2"
>> + EnableFunctionLevelLinking="true"
>> + UsePrecompiledHeader="0"
>> + WarningLevel="3"
>> + DebugInformationFormat="3"
>> + />
>> + <Tool
>> + Name="VCManagedResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCPreLinkEventTool"
>> + />
>> + <Tool
>> + Name="VCLinkerTool"
>> + AdditionalDependencies="wininet.lib
>> ws2_32.lib "
>> + LinkIncremental="1"
>> + GenerateDebugInformation="true"
>> + SubSystem="1"
>> + OptimizeReferences="2"
>> + EnableCOMDATFolding="2"
>> + TargetMachine="1"
>> + />
>> + <Tool
>> + Name="VCALinkTool"
>> + />
>> + <Tool
>> + Name="VCManifestTool"
>> + />
>> + <Tool
>> + Name="VCXDCMakeTool"
>> + />
>> + <Tool
>> + Name="VCBscMakeTool"
>> + />
>> + <Tool
>> + Name="VCFxCopTool"
>> + />
>> + <Tool
>> + Name="VCAppVerifierTool"
>> + />
>> + <Tool
>> + Name="VCPostBuildEventTool"
>> + />
>> + </Configuration>
>> + </Configurations>
>> + <References>
>> + </References>
>> + <Files>
>> + <Filter
>> + Name="Source Files"
>> + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
>> +
>> UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>> + >
>> + <File
>> + RelativePath="..\..\..\git.c"
>> + >
>> + </File>
>> + </Filter>
>> + <Filter
>> + Name="Header Files"
>> + Filter="h;hpp;hxx;hm;inl;inc;xsd"
>> +
>> UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>> + >
>> + </Filter>
>> + <Filter
>> + Name="Resource Files"
>> +
>> Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
>> +
>> UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>> + >
>> + </Filter>
>> + </Files>
>> + <Globals>
>> + </Globals>
>> +</VisualStudioProject>
>> diff --git a/compat/vcbuild/libgit/libgit.vcproj
>> b/compat/vcbuild/libgit/libgit.vcproj
>> new file mode 100644
>> index 0000000..bbc3aed
>> --- /dev/null
>> +++ b/compat/vcbuild/libgit/libgit.vcproj
>> @@ -0,0 +1,1347 @@
>> +<?xml version="1.0" encoding="gb2312"?>
>> +<VisualStudioProject
>> + ProjectType="Visual C++"
>> + Version="9.00"
>> + Name="libgit"
>> + ProjectGUID="{F6DEC8C3-B803-4A86-8848-430F08B499E3}"
>> + RootNamespace="libgit"
>> + Keyword="Win32Proj"
>> + TargetFrameworkVersion="196613"
>> + >
>> + <Platforms>
>> + <Platform
>> + Name="Win32"
>> + />
>> + </Platforms>
>> + <ToolFiles>
>> + </ToolFiles>
>> + <Configurations>
>> + <Configuration
>> + Name="Debug|Win32"
>> +
>> OutputDirectory="$(SolutionDir)$(ConfigurationName)"
>> + IntermediateDirectory="$(ConfigurationName)"
>> + ConfigurationType="4"
>> + CharacterSet="0"
>> + >
>> + <Tool
>> + Name="VCPreBuildEventTool"
>> + />
>> + <Tool
>> + Name="VCCustomBuildTool"
>> + />
>> + <Tool
>> + Name="VCXMLDataGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCWebServiceProxyGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCMIDLTool"
>> + />
>> + <Tool
>> + Name="VCCLCompilerTool"
>> + Optimization="0"
>> + InlineFunctionExpansion="1"
>> +
>> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
>> +
>> PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
>> + MinimalRebuild="true"
>> + BasicRuntimeChecks="3"
>> + RuntimeLibrary="3"
>> + UsePrecompiledHeader="0"
>> + WarningLevel="3"
>> + DebugInformationFormat="3"
>> + />
>> + <Tool
>> + Name="VCManagedResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCPreLinkEventTool"
>> + />
>> + <Tool
>> + Name="VCLibrarianTool"
>> + />
>> + <Tool
>> + Name="VCALinkTool"
>> + />
>> + <Tool
>> + Name="VCXDCMakeTool"
>> + />
>> + <Tool
>> + Name="VCBscMakeTool"
>> + />
>> + <Tool
>> + Name="VCFxCopTool"
>> + />
>> + <Tool
>> + Name="VCPostBuildEventTool"
>> + />
>> + </Configuration>
>> + <Configuration
>> + Name="Release|Win32"
>> +
>> OutputDirectory="$(SolutionDir)$(ConfigurationName)"
>> + IntermediateDirectory="$(ConfigurationName)"
>> + ConfigurationType="4"
>> + CharacterSet="0"
>> + WholeProgramOptimization="1"
>> + >
>> + <Tool
>> + Name="VCPreBuildEventTool"
>> + />
>> + <Tool
>> + Name="VCCustomBuildTool"
>> + />
>> + <Tool
>> + Name="VCXMLDataGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCWebServiceProxyGeneratorTool"
>> + />
>> + <Tool
>> + Name="VCMIDLTool"
>> + />
>> + <Tool
>> + Name="VCCLCompilerTool"
>> + Optimization="2"
>> + InlineFunctionExpansion="1"
>> + EnableIntrinsicFunctions="true"
>> +
>> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
>> +
>> PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
>> + RuntimeLibrary="2"
>> + EnableFunctionLevelLinking="true"
>> + UsePrecompiledHeader="0"
>> + WarningLevel="3"
>> + DebugInformationFormat="3"
>> + />
>> + <Tool
>> + Name="VCManagedResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCResourceCompilerTool"
>> + />
>> + <Tool
>> + Name="VCPreLinkEventTool"
>> + />
>> + <Tool
>> + Name="VCLibrarianTool"
>> + />
>> + <Tool
>> + Name="VCALinkTool"
>> + />
>> + <Tool
>> + Name="VCXDCMakeTool"
>> + />
>> + <Tool
>> + Name="VCBscMakeTool"
>> + />
>> + <Tool
>> + Name="VCFxCopTool"
>> + />
>> + <Tool
>> + Name="VCPostBuildEventTool"
>> + />
>> + </Configuration>
>> + </Configurations>
>> + <References>
>> + </References>
>> + <Files>
>> + <Filter
>> + Name="Source Files"
>> + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
>> +
>> UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>> + >
>> + <File
>> + RelativePath="..\..\msvc.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\mozilla-sha1\sha1.c"
>> + >
>> + </File>
>> + </Filter>
>> + <Filter
>> + Name="Header Files"
>> + Filter="h;hpp;hxx;hm;inl;inc;xsd"
>> +
>> UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>> + >
>> + <File
>> + RelativePath="..\..\..\archive.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\attr.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\blob.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\branch.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\bundle.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\cache-tree.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\cache.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\color.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\commit.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\csum-file.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\decorate.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\delta.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diff.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\dir.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\exec_cmd.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\fetch-pack.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\fsck.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\git-compat-util.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\graph.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\grep.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\hash.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\help.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\http.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\levenshtein.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\list-objects.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\ll-merge.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\log-tree.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\mailmap.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\merge-recursive.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\notes.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\object.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-refs.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-revindex.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\parse-options.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\patch-ids.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pkt-line.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\progress.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\quote.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\reachable.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\reflog-walk.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\refs.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\remote.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\rerere.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\revision.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\run-command.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\send-pack.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sha1-lookup.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\shortlog.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sideband.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sigchain.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\strbuf.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\string-list.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tag.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tar.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\thread-utils.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\transport.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tree-walk.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tree.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\unpack-trees.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\userdiff.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\utf8.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\walker.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\wt-status.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff-interface.h"
>> + >
>> + </File>
>> + </Filter>
>> + <Filter
>> + Name="Resource Files"
>> +
>> Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
>> +
>> UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>> + >
>> + </Filter>
>> + <Filter
>> + Name="compat"
>> + >
>> + <File
>> + RelativePath="..\..\..\compat\basename.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\cygwin.h"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\compat\fnmatch\fnmatch.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\compat\fnmatch\fnmatch.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\fopen.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\memmem.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\mingw.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\mingw.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\mkdtemp.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\mkstemps.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\pread.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\qsort.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\compat\regex\regex.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\compat\regex\regex.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\setenv.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\snprintf.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\compat\strcasestr.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\strlcpy.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\strtoumax.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\unsetenv.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\win32.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\win32mmap.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\compat\winansi.c"
>> + >
>> + </File>
>> + </Filter>
>> + <Filter
>> + Name="git"
>> + >
>> + <File
>> + RelativePath="..\..\..\abspath.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\alias.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\alloc.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\archive-tar.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\archive-zip.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\archive.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\attr.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\base85.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\bisect.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\blob.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\branch.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-add.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-annotate.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-apply.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-archive.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-bisect--helper.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-blame.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-branch.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-bundle.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-cat-file.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-check-attr.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-check-ref-format.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-checkout-index.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-checkout.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-clean.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-clone.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-commit-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-commit.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-config.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-count-objects.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-describe.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-diff-files.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-diff-index.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-diff-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-diff.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-fast-export.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-fetch--tool.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-fetch-pack.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-fetch.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-fmt-merge-msg.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-for-each-ref.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-fsck.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-gc.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-grep.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-help.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-init-db.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-log.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-ls-files.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-ls-remote.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-ls-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-mailinfo.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-mailsplit.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-merge-base.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-merge-file.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-merge-ours.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-merge-recursive.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-merge.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-mktree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-mv.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-name-rev.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-pack-objects.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-pack-refs.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-prune-packed.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-prune.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-push.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-read-tree.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-receive-pack.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-reflog.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-remote.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-rerere.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-reset.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-rev-list.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-rev-parse.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-revert.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-rm.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-send-pack.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-shortlog.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-show-branch.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-show-ref.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-stripspace.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-symbolic-ref.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-tag.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\builtin-tar-tree.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-unpack-objects.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-update-index.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-update-ref.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-upload-archive.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-verify-pack.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-verify-tag.c"
>> + >
>> + </File>
>> + <File
>> +
>> RelativePath="..\..\..\builtin-write-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\bundle.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\cache-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\color.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\combine-diff.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\commit.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\config.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\connect.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\convert.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\copy.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\csum-file.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\ctype.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\date.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\decorate.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diff-delta.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diff-lib.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diff-no-index.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diff.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore-break.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore-delta.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore-order.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore-pickaxe.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\diffcore-rename.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\dir.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\editor.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\entry.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\environment.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\exec_cmd.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\fsck.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\graph.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\grep.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\hash.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\help.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\ident.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\levenshtein.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\list-objects.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\ll-merge.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\lockfile.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\log-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\mailmap.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\match-trees.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\merge-file.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\merge-recursive.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\merge-tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\name-hash.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\object.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-check.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-refs.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-revindex.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pack-write.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pager.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\parse-options.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\patch-delta.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\patch-ids.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\path.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pkt-line.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\preload-index.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\pretty.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\progress.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\quote.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\reachable.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\read-cache.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\reflog-walk.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\refs.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\remote.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\rerere.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\revision.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\run-command.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\server-info.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\setup.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sha1-lookup.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sha1_file.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sha1_name.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\shallow.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sideband.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\sigchain.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\strbuf.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\string-list.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\symlinks.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tag.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\thread-utils.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\trace.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\transport.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tree-diff.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tree-walk.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\tree.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\unpack-trees.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\usage.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\userdiff.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\utf8.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\walker.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\wrapper.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\write_or_die.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\ws.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\wt-status.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff-interface.c"
>> + >
>> + </File>
>> + </Filter>
>> + <Filter
>> + Name="xdiff"
>> + >
>> + <File
>> + RelativePath="..\..\..\xdiff\xdiff.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xdiffi.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xdiffi.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xemit.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xemit.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xinclude.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xmacros.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xmerge.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xpatience.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xprepare.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xprepare.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xtypes.h"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xutils.c"
>> + >
>> + </File>
>> + <File
>> + RelativePath="..\..\..\xdiff\xutils.h"
>> + >
>> + </File>
>> + </Filter>
>> + </Files>
>> + <Globals>
>> + </Globals>
>> +</VisualStudioProject>
>> --
>> 1.6.4.msysgit.0
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
[-- Attachment #2: Type: text/html, Size: 81711 bytes --]
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Thiago Farina @ 2009-08-17 22:27 UTC (permalink / raw)
To: Frank Li; +Cc: git, msysgit, Johannes.Schindelin
In-Reply-To: <1250525103-5184-5-git-send-email-lznuaa@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 67139 bytes --]
What about the common-cmds.h that is included in builtin-help.c? How it will
be generated?
I followed the instructions in ReadMe, then I can't compile because of this
"missing" file.
On Mon, Aug 17, 2009 at 1:05 PM, Frank Li <lznuaa@gmail.com> wrote:
> Add libgit.vcproj to build common library.
> Add git.vcproj to build git program.
>
> Signed-off-by: Frank Li <lznuaa@gmail.com>
> ---
> compat/vcbuild/git/git.vcproj | 197 +++++
> compat/vcbuild/libgit/libgit.vcproj | 1347
> +++++++++++++++++++++++++++++++++++
> 2 files changed, 1544 insertions(+), 0 deletions(-)
> create mode 100644 compat/vcbuild/git/git.vcproj
> create mode 100644 compat/vcbuild/libgit/libgit.vcproj
>
> diff --git a/compat/vcbuild/git/git.vcproj b/compat/vcbuild/git/git.vcproj
> new file mode 100644
> index 0000000..6f85de3
> --- /dev/null
> +++ b/compat/vcbuild/git/git.vcproj
> @@ -0,0 +1,197 @@
> +<?xml version="1.0" encoding="gb2312"?>
> +<VisualStudioProject
> + ProjectType="Visual C++"
> + Version="9.00"
> + Name="git"
> + ProjectGUID="{E3E30E51-C5AD-407B-AB43-985E4111474A}"
> + RootNamespace="git"
> + Keyword="Win32Proj"
> + TargetFrameworkVersion="196613"
> + >
> + <Platforms>
> + <Platform
> + Name="Win32"
> + />
> + </Platforms>
> + <ToolFiles>
> + </ToolFiles>
> + <Configurations>
> + <Configuration
> + Name="Debug|Win32"
> +
> OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
> + IntermediateDirectory="$(ConfigurationName)"
> + ConfigurationType="1"
> + CharacterSet="0"
> + >
> + <Tool
> + Name="VCPreBuildEventTool"
> + />
> + <Tool
> + Name="VCCustomBuildTool"
> + />
> + <Tool
> + Name="VCXMLDataGeneratorTool"
> + />
> + <Tool
> + Name="VCWebServiceProxyGeneratorTool"
> + />
> + <Tool
> + Name="VCMIDLTool"
> + />
> + <Tool
> + Name="VCCLCompilerTool"
> + Optimization="0"
> +
> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
> +
> PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
> + MinimalRebuild="true"
> + BasicRuntimeChecks="3"
> + RuntimeLibrary="3"
> + UsePrecompiledHeader="0"
> + WarningLevel="3"
> + DebugInformationFormat="4"
> + />
> + <Tool
> + Name="VCManagedResourceCompilerTool"
> + />
> + <Tool
> + Name="VCResourceCompilerTool"
> + />
> + <Tool
> + Name="VCPreLinkEventTool"
> + />
> + <Tool
> + Name="VCLinkerTool"
> + AdditionalDependencies="wininet.lib
> ws2_32.lib "
> + LinkIncremental="2"
> + GenerateDebugInformation="true"
> + SubSystem="1"
> + TargetMachine="1"
> + />
> + <Tool
> + Name="VCALinkTool"
> + />
> + <Tool
> + Name="VCManifestTool"
> + />
> + <Tool
> + Name="VCXDCMakeTool"
> + />
> + <Tool
> + Name="VCBscMakeTool"
> + />
> + <Tool
> + Name="VCFxCopTool"
> + />
> + <Tool
> + Name="VCAppVerifierTool"
> + />
> + <Tool
> + Name="VCPostBuildEventTool"
> + />
> + </Configuration>
> + <Configuration
> + Name="Release|Win32"
> +
> OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
> + IntermediateDirectory="$(ConfigurationName)"
> + ConfigurationType="1"
> + CharacterSet="0"
> + WholeProgramOptimization="1"
> + >
> + <Tool
> + Name="VCPreBuildEventTool"
> + />
> + <Tool
> + Name="VCCustomBuildTool"
> + />
> + <Tool
> + Name="VCXMLDataGeneratorTool"
> + />
> + <Tool
> + Name="VCWebServiceProxyGeneratorTool"
> + />
> + <Tool
> + Name="VCMIDLTool"
> + />
> + <Tool
> + Name="VCCLCompilerTool"
> + Optimization="2"
> + EnableIntrinsicFunctions="true"
> +
> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
> +
> PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
> + RuntimeLibrary="2"
> + EnableFunctionLevelLinking="true"
> + UsePrecompiledHeader="0"
> + WarningLevel="3"
> + DebugInformationFormat="3"
> + />
> + <Tool
> + Name="VCManagedResourceCompilerTool"
> + />
> + <Tool
> + Name="VCResourceCompilerTool"
> + />
> + <Tool
> + Name="VCPreLinkEventTool"
> + />
> + <Tool
> + Name="VCLinkerTool"
> + AdditionalDependencies="wininet.lib
> ws2_32.lib "
> + LinkIncremental="1"
> + GenerateDebugInformation="true"
> + SubSystem="1"
> + OptimizeReferences="2"
> + EnableCOMDATFolding="2"
> + TargetMachine="1"
> + />
> + <Tool
> + Name="VCALinkTool"
> + />
> + <Tool
> + Name="VCManifestTool"
> + />
> + <Tool
> + Name="VCXDCMakeTool"
> + />
> + <Tool
> + Name="VCBscMakeTool"
> + />
> + <Tool
> + Name="VCFxCopTool"
> + />
> + <Tool
> + Name="VCAppVerifierTool"
> + />
> + <Tool
> + Name="VCPostBuildEventTool"
> + />
> + </Configuration>
> + </Configurations>
> + <References>
> + </References>
> + <Files>
> + <Filter
> + Name="Source Files"
> + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
> +
> UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> + >
> + <File
> + RelativePath="..\..\..\git.c"
> + >
> + </File>
> + </Filter>
> + <Filter
> + Name="Header Files"
> + Filter="h;hpp;hxx;hm;inl;inc;xsd"
> +
> UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
> + >
> + </Filter>
> + <Filter
> + Name="Resource Files"
> +
> Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
> +
> UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
> + >
> + </Filter>
> + </Files>
> + <Globals>
> + </Globals>
> +</VisualStudioProject>
> diff --git a/compat/vcbuild/libgit/libgit.vcproj
> b/compat/vcbuild/libgit/libgit.vcproj
> new file mode 100644
> index 0000000..bbc3aed
> --- /dev/null
> +++ b/compat/vcbuild/libgit/libgit.vcproj
> @@ -0,0 +1,1347 @@
> +<?xml version="1.0" encoding="gb2312"?>
> +<VisualStudioProject
> + ProjectType="Visual C++"
> + Version="9.00"
> + Name="libgit"
> + ProjectGUID="{F6DEC8C3-B803-4A86-8848-430F08B499E3}"
> + RootNamespace="libgit"
> + Keyword="Win32Proj"
> + TargetFrameworkVersion="196613"
> + >
> + <Platforms>
> + <Platform
> + Name="Win32"
> + />
> + </Platforms>
> + <ToolFiles>
> + </ToolFiles>
> + <Configurations>
> + <Configuration
> + Name="Debug|Win32"
> +
> OutputDirectory="$(SolutionDir)$(ConfigurationName)"
> + IntermediateDirectory="$(ConfigurationName)"
> + ConfigurationType="4"
> + CharacterSet="0"
> + >
> + <Tool
> + Name="VCPreBuildEventTool"
> + />
> + <Tool
> + Name="VCCustomBuildTool"
> + />
> + <Tool
> + Name="VCXMLDataGeneratorTool"
> + />
> + <Tool
> + Name="VCWebServiceProxyGeneratorTool"
> + />
> + <Tool
> + Name="VCMIDLTool"
> + />
> + <Tool
> + Name="VCCLCompilerTool"
> + Optimization="0"
> + InlineFunctionExpansion="1"
> +
> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
> + PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
> + MinimalRebuild="true"
> + BasicRuntimeChecks="3"
> + RuntimeLibrary="3"
> + UsePrecompiledHeader="0"
> + WarningLevel="3"
> + DebugInformationFormat="3"
> + />
> + <Tool
> + Name="VCManagedResourceCompilerTool"
> + />
> + <Tool
> + Name="VCResourceCompilerTool"
> + />
> + <Tool
> + Name="VCPreLinkEventTool"
> + />
> + <Tool
> + Name="VCLibrarianTool"
> + />
> + <Tool
> + Name="VCALinkTool"
> + />
> + <Tool
> + Name="VCXDCMakeTool"
> + />
> + <Tool
> + Name="VCBscMakeTool"
> + />
> + <Tool
> + Name="VCFxCopTool"
> + />
> + <Tool
> + Name="VCPostBuildEventTool"
> + />
> + </Configuration>
> + <Configuration
> + Name="Release|Win32"
> +
> OutputDirectory="$(SolutionDir)$(ConfigurationName)"
> + IntermediateDirectory="$(ConfigurationName)"
> + ConfigurationType="4"
> + CharacterSet="0"
> + WholeProgramOptimization="1"
> + >
> + <Tool
> + Name="VCPreBuildEventTool"
> + />
> + <Tool
> + Name="VCCustomBuildTool"
> + />
> + <Tool
> + Name="VCXMLDataGeneratorTool"
> + />
> + <Tool
> + Name="VCWebServiceProxyGeneratorTool"
> + />
> + <Tool
> + Name="VCMIDLTool"
> + />
> + <Tool
> + Name="VCCLCompilerTool"
> + Optimization="2"
> + InlineFunctionExpansion="1"
> + EnableIntrinsicFunctions="true"
> +
> AdditionalIncludeDirectories="..\..\..;..\..\..\..\zlib;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
> + PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
> + RuntimeLibrary="2"
> + EnableFunctionLevelLinking="true"
> + UsePrecompiledHeader="0"
> + WarningLevel="3"
> + DebugInformationFormat="3"
> + />
> + <Tool
> + Name="VCManagedResourceCompilerTool"
> + />
> + <Tool
> + Name="VCResourceCompilerTool"
> + />
> + <Tool
> + Name="VCPreLinkEventTool"
> + />
> + <Tool
> + Name="VCLibrarianTool"
> + />
> + <Tool
> + Name="VCALinkTool"
> + />
> + <Tool
> + Name="VCXDCMakeTool"
> + />
> + <Tool
> + Name="VCBscMakeTool"
> + />
> + <Tool
> + Name="VCFxCopTool"
> + />
> + <Tool
> + Name="VCPostBuildEventTool"
> + />
> + </Configuration>
> + </Configurations>
> + <References>
> + </References>
> + <Files>
> + <Filter
> + Name="Source Files"
> + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
> +
> UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> + >
> + <File
> + RelativePath="..\..\msvc.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\mozilla-sha1\sha1.c"
> + >
> + </File>
> + </Filter>
> + <Filter
> + Name="Header Files"
> + Filter="h;hpp;hxx;hm;inl;inc;xsd"
> +
> UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
> + >
> + <File
> + RelativePath="..\..\..\archive.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\attr.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\blob.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\branch.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\bundle.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\cache-tree.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\cache.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\color.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\commit.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\csum-file.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\decorate.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\delta.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diff.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\dir.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\exec_cmd.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\fetch-pack.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\fsck.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\git-compat-util.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\graph.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\grep.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\hash.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\help.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\http.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\levenshtein.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\list-objects.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\ll-merge.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\log-tree.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\mailmap.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\merge-recursive.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\notes.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\object.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-refs.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-revindex.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\parse-options.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\patch-ids.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pkt-line.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\progress.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\quote.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\reachable.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\reflog-walk.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\refs.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\remote.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\rerere.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\revision.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\run-command.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\send-pack.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sha1-lookup.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\shortlog.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sideband.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sigchain.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\strbuf.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\string-list.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tag.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tar.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\thread-utils.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\transport.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tree-walk.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tree.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\unpack-trees.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\userdiff.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\utf8.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\walker.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\wt-status.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff-interface.h"
> + >
> + </File>
> + </Filter>
> + <Filter
> + Name="Resource Files"
> +
> Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
> +
> UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
> + >
> + </Filter>
> + <Filter
> + Name="compat"
> + >
> + <File
> + RelativePath="..\..\..\compat\basename.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\cygwin.h"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\compat\fnmatch\fnmatch.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\compat\fnmatch\fnmatch.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\fopen.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\memmem.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\mingw.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\mingw.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\mkdtemp.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\mkstemps.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\pread.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\qsort.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\compat\regex\regex.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\compat\regex\regex.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\setenv.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\snprintf.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\strcasestr.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\strlcpy.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\strtoumax.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\unsetenv.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\win32.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\win32mmap.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\compat\winansi.c"
> + >
> + </File>
> + </Filter>
> + <Filter
> + Name="git"
> + >
> + <File
> + RelativePath="..\..\..\abspath.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\alias.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\alloc.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\archive-tar.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\archive-zip.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\archive.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\attr.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\base85.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\bisect.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\blob.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\branch.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-add.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-annotate.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-apply.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-archive.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-bisect--helper.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-blame.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-branch.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-bundle.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-cat-file.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-check-attr.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-check-ref-format.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-checkout-index.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-checkout.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-clean.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-clone.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-commit-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-commit.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-config.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-count-objects.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-describe.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-diff-files.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-diff-index.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-diff-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-diff.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-fast-export.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-fetch--tool.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-fetch-pack.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-fetch.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-fmt-merge-msg.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-for-each-ref.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-fsck.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-gc.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-grep.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-help.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-init-db.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-log.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-ls-files.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-ls-remote.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-ls-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-mailinfo.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-mailsplit.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-merge-base.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-merge-file.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-merge-ours.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-merge-recursive.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-merge.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-mktree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-mv.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-name-rev.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-pack-objects.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-pack-refs.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-prune-packed.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-prune.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-push.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-read-tree.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-receive-pack.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-reflog.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-remote.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-rerere.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-reset.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-rev-list.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-rev-parse.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-revert.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-rm.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-send-pack.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-shortlog.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-show-branch.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-show-ref.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-stripspace.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-symbolic-ref.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-tag.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\builtin-tar-tree.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-unpack-objects.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-update-index.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-update-ref.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-upload-archive.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-verify-pack.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-verify-tag.c"
> + >
> + </File>
> + <File
> +
> RelativePath="..\..\..\builtin-write-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\bundle.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\cache-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\color.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\combine-diff.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\commit.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\config.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\connect.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\convert.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\copy.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\csum-file.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\ctype.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\date.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\decorate.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diff-delta.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diff-lib.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diff-no-index.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diff.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore-break.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore-delta.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore-order.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore-pickaxe.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\diffcore-rename.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\dir.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\editor.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\entry.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\environment.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\exec_cmd.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\fsck.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\graph.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\grep.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\hash.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\help.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\ident.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\levenshtein.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\list-objects.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\ll-merge.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\lockfile.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\log-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\mailmap.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\match-trees.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\merge-file.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\merge-recursive.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\merge-tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\name-hash.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\object.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-check.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-refs.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-revindex.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pack-write.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pager.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\parse-options.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\patch-delta.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\patch-ids.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\path.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pkt-line.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\preload-index.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\pretty.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\progress.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\quote.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\reachable.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\read-cache.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\reflog-walk.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\refs.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\remote.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\rerere.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\revision.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\run-command.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\server-info.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\setup.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sha1-lookup.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sha1_file.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sha1_name.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\shallow.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sideband.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\sigchain.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\strbuf.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\string-list.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\symlinks.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tag.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\thread-utils.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\trace.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\transport.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tree-diff.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tree-walk.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\tree.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\unpack-trees.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\usage.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\userdiff.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\utf8.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\walker.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\wrapper.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\write_or_die.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\ws.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\wt-status.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff-interface.c"
> + >
> + </File>
> + </Filter>
> + <Filter
> + Name="xdiff"
> + >
> + <File
> + RelativePath="..\..\..\xdiff\xdiff.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xdiffi.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xdiffi.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xemit.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xemit.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xinclude.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xmacros.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xmerge.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xpatience.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xprepare.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xprepare.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xtypes.h"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xutils.c"
> + >
> + </File>
> + <File
> + RelativePath="..\..\..\xdiff\xutils.h"
> + >
> + </File>
> + </Filter>
> + </Files>
> + <Globals>
> + </Globals>
> +</VisualStudioProject>
> --
> 1.6.4.msysgit.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[-- Attachment #2: Type: text/html, Size: 81034 bytes --]
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Thiago Farina @ 2009-08-17 22:32 UTC (permalink / raw)
To: Frank Li
Cc: Pau Garcia i Quiles, Johannes Schindelin, Reece Dunn,
Erik Faye-Lund, git, msysgit
In-Reply-To: <4A89D807.1080202@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
What about the common-cmds.h that is in the builtin-help.c? How it will be
generated?I followed the instruction in ReadMe, but I couldn't compile
because of this "missing" file.
[-- Attachment #2: Type: text/html, Size: 203 bytes --]
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Thiago Farina @ 2009-08-17 22:33 UTC (permalink / raw)
To: Frank Li
Cc: Pau Garcia i Quiles, Johannes Schindelin, Reece Dunn,
Erik Faye-Lund, git, msysgit
In-Reply-To: <4A89D807.1080202@gnu.org>
What about the common-cmds.h that is in the builtin-help.c? How it will be
generated? I followed the instruction in ReadMe, but I couldn't compile
because of this "missing" file.
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Johan 't Hart @ 2009-08-17 22:26 UTC (permalink / raw)
To: Johannes Schindelin
Cc: Pau Garcia i Quiles, Erik Faye-Lund, Paolo Bonzini, Frank Li, git,
msysgit
In-Reply-To: <alpine.DEB.1.00.0908172306080.8306@pacific.mpi-cbg.de>
Johannes Schindelin schreef:
> Having said that, a CMake-based system _in addition_ to what is
> tried-and-tested to be able to support all those different kinds of
> Microsoft Visual Studio (took me 3 attempts to write that without a
> Freudian) would be welcome, _if_ you succeed in making it compile out of
> the box on msysGit.
That would require (I think) that CMake is build by the msysgit gcc
tools available in msysgit, since CMake can't be build by VS right? Pau
do you think that is possible?
It would be fun. Download the msysgit netinstaller, set it up, install
it, and after that, CMake is bootstrapped, and the visual studio .vcproj
files are generated and everyone (VS developers and msys developers) are
ready to go!
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Paolo Bonzini @ 2009-08-17 22:21 UTC (permalink / raw)
To: Pau Garcia i Quiles
Cc: Johannes Schindelin, Reece Dunn, Erik Faye-Lund, Frank Li, git,
msysgit
In-Reply-To: <3af572ac0908171519h7b72427lba7536506d44460e@mail.gmail.com>
>> This is exactly what I mean by burden. Why do I have to learn a new
>> system, and suffer the hassle of integrating it into the current build
>> system, which works quite well thankyouverymuch?
>
> Because it works for every platform, including Visual C++, where a
> Bourne shell is not available and where you currently need to maintain
> a different built system.
But it comes with its own share of idiosyncracies. There are as many
CMake haters as there are autotools haters.
I don't see CMake being used by git.git before hell freezes over. For
msysgit, however, it may be an interesting approach.
> Let's see what I can do.
I'm also curious.
Paolo
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Pau Garcia i Quiles @ 2009-08-17 22:19 UTC (permalink / raw)
To: Johannes Schindelin
Cc: Reece Dunn, Erik Faye-Lund, Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <alpine.DEB.1.00.0908180005250.8306@pacific.mpi-cbg.de>
On Tue, Aug 18, 2009 at 12:10 AM, Johannes
Schindelin<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote:
>
>> On Mon, Aug 17, 2009 at 11:05 PM, Johannes
>> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>>
>> > You are putting an undue burden on the already overloaded maintainer.
>>
>> Sorry, but I'm a bit lost now. What maintainer are we talking about now?
>> Junio?
>
> I was talking about me, as maintainer of msysGit.
>
>> As I would be providing a turn-key CMake build system, the only burden I
>> would be putting on the maintainer would be learning CMake.
>>
>> Given that I'm providing a comprehensive (100+ slides) CMake tutorial
>> ( http://www.elpauer.org/stuff/learning_cmake.pdf ) , which I use in
>> my CMake workshops, I think I'm making that burden a bit lighter.
>>
>> If the next git conference is somewhere in Europe, I could also fly
>> there and we'd have a CMake tutorial, if people would feel more
>> comfortable that way.
>
> This is exactly what I mean by burden. Why do I have to learn a new
> system, and suffer the hassle of integrating it into the current build
> system, which works quite well thankyouverymuch?
Because it works for every platform, including Visual C++, where a
Bourne shell is not available and where you currently need to maintain
a different built system.
> Never run a changing system.
>
>> > Well, let's see if you can provide a /src/cmake/release.sh that
>> > compiles CMake from scratch, and _then_ I'll look into CMake again.
>>
>> Again, I'm a bit lost. What '/src/cmake/release.sh' are we talking about
>> now? Would that be part of CMake or git ?
>
> Maybe this:
>
> http://article.gmane.org/gmane.comp.version-control.git/126286
>
> and this:
>
> http://repo.or.cz/w/msysgit.git?a=blob;f=src/curl/release.sh;h=d7516cbf6e92af4de138ce405d88561fbe1e92a8;hb=968336eddac1874c56cd934d10783566af5a3e26
>
> helps.
>
> To quote myself (as you appear to have missed that):
>
> Having said that, a CMake-based system _in addition_ to what is
> tried-and-tested to be able to support all those different kinds of
> Microsoft Visual Studio (took me 3 attempts to write that without a
> Freudian) would be welcome, _if_ you succeed in making it compile out
> of the box on msysGit.
>
> By out-of-the-box I mean: you send a patch that adds
> /src/cmake/release.sh, I apply the patch (after briefly scanning
> that it does not install a backdoor on a machine that is not even
> mine, and therefore will never see even a single of my passwords
> typed in), run it, it compiles installs and commits cmake and cmake
> works.
Hmmm indeed I have missed a lot, thanks. A lot of what you had written
in other e-mails was being hidden by GMail as "quoted" text :-/
It seems we are talking about two different things here. I'm talking
about getting the CMake-based build system in git.git, you are talking
about msysgit. If getting into msysgit is the first step to getting
into git.git, I'll start from msysgit. Are the differences between
both branches so big they cannot be merged into a single branch yet ?
> Short form: if you make it easy for me, I will look at it again, if you
> make it hard on me, you will just have done to me what you now try
> to avoid yourself: wasted time.
Let's see what I can do.
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
^ permalink raw reply
* Re: [PATCH] read-tree: Fix regression with creation of a new index file.
From: Johannes Schindelin @ 2009-08-17 22:19 UTC (permalink / raw)
To: Alexandre Julliard; +Cc: git, Stephen Boyd
In-Reply-To: <877hx25u7j.fsf@wine.dyndns.org>
Hi,
On Mon, 17 Aug 2009, Alexandre Julliard wrote:
> diff --git a/builtin-read-tree.c b/builtin-read-tree.c
> index 9c2d634..14c836b 100644
> --- a/builtin-read-tree.c
> +++ b/builtin-read-tree.c
> @@ -113,13 +113,15 @@ int cmd_read_tree(int argc, const char **argv, const char *unused_prefix)
> argc = parse_options(argc, argv, unused_prefix, read_tree_options,
> read_tree_usage, 0);
>
> - if (read_cache_unmerged() && (opts.prefix || opts.merge))
> - die("You need to resolve your current index first");
> -
> prefix_set = opts.prefix ? 1 : 0;
> if (1 < opts.merge + opts.reset + prefix_set)
> die("Which one? -m, --reset, or --prefix?");
> - stage = opts.merge = (opts.reset || opts.merge || prefix_set);
> +
> + if (opts.reset || opts.merge || opts.prefix) {
> + if (read_cache_unmerged() && (opts.prefix || opts.merge))
> + die("You need to resolve your current index first");
> + stage = opts.merge = 1;
> + }
Actually, this should be enough:
-- snipsnap --
diff --git a/builtin-read-tree.c b/builtin-read-tree.c
index 9c2d634..d649c56 100644
--- a/builtin-read-tree.c
+++ b/builtin-read-tree.c
@@ -113,14 +113,14 @@ int cmd_read_tree(int argc, const char **argv, const char *unused_prefix)
argc = parse_options(argc, argv, unused_prefix, read_tree_options,
read_tree_usage, 0);
- if (read_cache_unmerged() && (opts.prefix || opts.merge))
- die("You need to resolve your current index first");
-
prefix_set = opts.prefix ? 1 : 0;
if (1 < opts.merge + opts.reset + prefix_set)
die("Which one? -m, --reset, or --prefix?");
stage = opts.merge = (opts.reset || opts.merge || prefix_set);
+ if (opts.merge && (read_cache_unmerged() && !prefix_set && !opts.reset))
+ die("You need to resolve your current index first");
+
for (i = 0; i < argc; i++) {
const char *arg = argv[i];
--
1.6.4.313.g3d9e3
^ permalink raw reply related
* Re: [PATCH 10/11] Add MSVC Project file
From: Johan 't Hart @ 2009-08-17 22:17 UTC (permalink / raw)
To: Reece Dunn
Cc: Pau Garcia i Quiles, Johannes Schindelin, Erik Faye-Lund,
Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <3f4fd2640908171405g46aa1d09t5169a3c8bcb1c49c@mail.gmail.com>
Reece Dunn schreef:
> Note that I said that people who use Visual Studio are more likely to
> build and develop things through the Visual Studio IDE. Unless there
> is IDE integration for it, they are not likely to use it.
CMake generates a .vcproj file for visual studio, so users who want to
use the IDE let CMake generate the .vcproj file and then use the IDE to
debug git.
There could be a batchfile like /vc_build/make_vs_files.bat or something
to make it easy for VS users using the IDE.
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Johannes Schindelin @ 2009-08-17 22:10 UTC (permalink / raw)
To: Pau Garcia i Quiles
Cc: Reece Dunn, Erik Faye-Lund, Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <3af572ac0908171423ye08efa8m6666ddb922d5ee92@mail.gmail.com>
Hi,
On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote:
> On Mon, Aug 17, 2009 at 11:05 PM, Johannes
> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>
> > You are putting an undue burden on the already overloaded maintainer.
>
> Sorry, but I'm a bit lost now. What maintainer are we talking about now?
> Junio?
I was talking about me, as maintainer of msysGit.
> As I would be providing a turn-key CMake build system, the only burden I
> would be putting on the maintainer would be learning CMake.
>
> Given that I'm providing a comprehensive (100+ slides) CMake tutorial
> ( http://www.elpauer.org/stuff/learning_cmake.pdf ) , which I use in
> my CMake workshops, I think I'm making that burden a bit lighter.
>
> If the next git conference is somewhere in Europe, I could also fly
> there and we'd have a CMake tutorial, if people would feel more
> comfortable that way.
This is exactly what I mean by burden. Why do I have to learn a new
system, and suffer the hassle of integrating it into the current build
system, which works quite well thankyouverymuch?
Never run a changing system.
> > Well, let's see if you can provide a /src/cmake/release.sh that
> > compiles CMake from scratch, and _then_ I'll look into CMake again.
>
> Again, I'm a bit lost. What '/src/cmake/release.sh' are we talking about
> now? Would that be part of CMake or git ?
Maybe this:
http://article.gmane.org/gmane.comp.version-control.git/126286
and this:
http://repo.or.cz/w/msysgit.git?a=blob;f=src/curl/release.sh;h=d7516cbf6e92af4de138ce405d88561fbe1e92a8;hb=968336eddac1874c56cd934d10783566af5a3e26
helps.
To quote myself (as you appear to have missed that):
Having said that, a CMake-based system _in addition_ to what is
tried-and-tested to be able to support all those different kinds of
Microsoft Visual Studio (took me 3 attempts to write that without a
Freudian) would be welcome, _if_ you succeed in making it compile out
of the box on msysGit.
By out-of-the-box I mean: you send a patch that adds
/src/cmake/release.sh, I apply the patch (after briefly scanning
that it does not install a backdoor on a machine that is not even
mine, and therefore will never see even a single of my passwords
typed in), run it, it compiles installs and commits cmake and cmake
works.
Short form: if you make it easy for me, I will look at it again, if you
make it hard on me, you will just have done to me what you now try
to avoid yourself: wasted time.
Ciao,
Dscho
^ permalink raw reply
* Re: [RFC PATCH v3 8/8] --sparse for porcelains
From: Johannes Schindelin @ 2009-08-17 22:02 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Jakub Narebski, Nguyen Thai Ngoc Duy, git
In-Reply-To: <7vws52uvxq.fsf@alter.siamese.dyndns.org>
Hi,
On Mon, 17 Aug 2009, Junio C Hamano wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > However, my illustration of the scenario was only to one end, namely
> > to convince all of you that assume-changed != sparse.
> >
> > And maybe to the end to explain that sparse checkout could help this
> > guy.
>
> How? If sparse is _not to check it out_, then that is not what the
> person is doing either. It feels to me that you are suggesting an
> inappropriate hack to replace another inappropriate hack, suggesting to
> use a hacksaw because an earlier attempt to use a hammer did not quite
> work to drive the screw in.
Not exactly.
What does "sparse checkout" mean, really? It means that Git should only
check out a part of the tracked files, and not even so much as look
outside. It means to me that everything outside of that focus is clearly
to be handled as all the other untracked data.
And here comes the problem: if something is treated untracked because it
was outside of the sparse checkout, then I want it to be treated as
untracked _even if_ I happened to broaden the checkout by editing
.git/info/sparse. The file did not just magically become subject to
overwriting just because I edited .git/info/sparse (which could be a
simple mistake). So the index _needs_ to know that the sparse'd-out
attribute is something completely different from the assume-unchanged
attribute, even if Git should _handle_ the files with those attributes
pretty similar _most_ of the time.
> I never said assume-unchanged _is_ sparse. You cannot mark an index
> entry that does not exist, obviously you need more (either the earlier
> "hook that tells what should/shouldn't exist", or "the pattern").
Right.
> But I think the work-tree semantics you need to _implement_ sparse
> matches what you would want from assume-unchanged. Not the original,
> draconian one that updates the work tree by saying "you promised me you
> wouldn't change them", but the updated one that tells git to pretend
> that the local change is not there but still keep the local
> modification, including deletion. The work-tree "local changes" sparse
> makes is a small subset of possible local changes assume-unchanged would
> need to support. It only deletes work tree files.
As I tried to convince you already, it is not wise to mix up the two
meanings. They _are_ different: in one case, we _have_ a file, and we
even _expect_ the file to actually have the same contents as what is
recorded in the index. In the other case, we do _not_ have a file, so we
do _not_ even expect the file to have the same contents.
In fact, in the latter case (the sparse case) we do not want to look for
the file; not for the reason that we expect the contents to be the same
anyway, but because we expect it not even to be there!
So while the _technical_ side is pretty much the same (most of the time, I
illustrated a corner case, it it is very easy to think of other corner
cases that might even be inadvertent, all the more reason to protect the
user) -- don't look for the file -- the _semantics_ are _very_ different.
And you see that they are different when all of a sudden you cannot take
the _absence_ of the file as the indicator for "assume-unchanged" and
"sparse".
In fact, with the semantics implied by the label 'assume-unchanged', it
could well be argued that making the file _absent_ (for the sparse
checkout) is a dirty trick. This is not what "assume that the file is
unchanged" implies at all.
So let's just keep the semantics utterly simple and stupid, and have an
- assumed-unchanged bit, which assumes that a file is there, but that the
contents need not to be checked for performance reasons, and
- a no-checkout bit, which assumes that the user never checked out that
file (if it exists, it comes from somewhere else, and needs to be
protected like untracked files that would be overwritten by a branch
switch).
I hope this explanation was clear.
Ciao,
Dscho
^ permalink raw reply
* Re: [RFC PATCH v3 8/8] --sparse for porcelains
From: Johannes Schindelin @ 2009-08-17 21:45 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Jakub Narebski, Nguyen Thai Ngoc Duy, git
In-Reply-To: <7vvdkmwfqs.fsf@alter.siamese.dyndns.org>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 5107 bytes --]
Hi,
On Mon, 17 Aug 2009, Junio C Hamano wrote:
> Junio C Hamano <gitster@pobox.com> writes:
>
> > Local changes in git do not belong to any particular branch. They
> > belong to the work tree and the index. Hence you (1) can switch from
> > branch A to branch B iff the branches do not have difference in the
> > path with local changes, and (2) have to stash save, switch branches
> > and then stash pop if you have local changes to paths that are
> > different between branches you are switching between.
> >
> > How should assume-unchanged play with this philosophy?
> >
> > I'd say that assume-unchanged is a promise you make git that you won't
> > change these paths, and in return to the promise git will give you
> > faster response by not running lstat on them. Having changes in such
> > paths is your problem and you deserve these chanegs to be lost. At
> > least, that is the interpretation according to the original
> > assume-unchanged semantics.
>
> Having said that, we could (re)define assume-unchanged to mean "I may or
> may not have changes to these paths, but I do not mean to commit them, so
> do not show them as modified when I ask you for diff. But the changes are
> precious nevertheless"
I am hesitant. The feature was introduced because of some report that Git
was too slow. While the speed has increased dramatically (the report was
for Windows), we cannot work miracles: the file system layer is just not
cooperative.
So I could imagine that redefining the meaning of assume-unchanged results
in a substantially longer runtime again, which some people (yours truly)
might interpret as regression.
> I think the writeout codepath pays attention to assume-unchanged bit
> already for that reason (CE_MATCH_IGNORE_VALID is all about this issue).
If I were that reporter, I would not be happy, I guess. Basically, when
new files come in and I marked all the files as "assume unchanged; I know
what I'm doing!" Git would tell me "no you're an idiot, dummy, I know
better, and I will check all over again!".
> So with that, how should assume-unchanged play with the "local changes
> belong to the index and the work tree"?
>
> - When adding to the index, the changes should be ignored;
>
> - When checking out of the index? I.e. the user tells "git checkout
> path" when path is marked as assume-unchanged. Such an explicit
> request should probably lose the local changes in the work tree.
>
> - When checking out of a commit? The same deal.
>
> - When switching branches?
>
> - If the branches do not touch assume-unchanged paths, we should keep
> changes _and_ assume-unchanged bit. I do not know if that is what
> the current code does.
>
> - If the branches do touch assume-unchanged paths, what should happen?
> We shouldn't blindly overwrite the local changes, so at least we
> should change the code to error out if we do not already do so. But
> then what? How does the user deal with this? Perhaps...
>
> - Drop assume-unchanged temporarily;
> - Stash save;
> - Switch;
> - Stash pop;
> - Add assume-unchanged again.
>
> ???
In my book all this is overly complicated. If I tell Git to assume a file
is unchanged, it is not Git's business to question me.
> Is such an updated (or "corrected") assume-unchanged any different from a
> sparse checkout? After all, paths that are not to be checked out in a
> sparse checkout are "pretend that the lack of these paths are illusion--they
> are logically there. I do not intend to commit their removal, and I do not
> want to lose the sparseness across branch switch".
>
> There is one nit about this. If a path is outside the checkout area,
> should it unconditionally stay outside the checkout area when you switch
> branches? I may be interested in not checking out Documentation/
> subdirectory and that may hold true for all _my_ branches, and it is a
> sane thing not to complain "Oops, you actually removed Makefile in
> Documentation/ in your work tree in reality, and you are switching to
> another branch that has a different Makefile --- it is a delete-modify
> conflict you need to resolve, and we won't let you switch branches" in
> such a case.
>
> But is that generally true in all "sparse checkout" settings?
>
> It is unfortunate that this message raises more questions than it answers,
> but I think a sparse checkout will have to answer them, whether it uses a
> bit separate from assume-unchanged or it reuses the assume-unchanged bit.
I think you will come around and agree that the original, very simple
therefore powerful, concept of "assume-unchanged" should be, well,
unchanged, and not be bent to half-fit the original intention and half-fit
the sparse intention.
Rather, I agree with Nguyễn that the no-checkout bit (which is definitely
free to behave differently from assume-unchanged) is needed.
Maybe I contradict myself here with what I said after the third iteration
of the sparse checkout series, but that only proves that I am able to
learn.
Ciao,
Dscho
^ permalink raw reply
* Re: Linus' sha1 is much faster!
From: Steven Noonan @ 2009-08-17 21:43 UTC (permalink / raw)
To: Linus Torvalds
Cc: Giuseppe Scrivano, Pádraig Brady, Bug-coreutils,
Git Mailing List
In-Reply-To: <alpine.LFD.2.01.0908170852320.3162@localhost.localdomain>
On Mon, Aug 17, 2009 at 9:22 AM, Linus
Torvalds<torvalds@linux-foundation.org> wrote:
>
>
> On Mon, 17 Aug 2009, Steven Noonan wrote:
>>
>> Interesting. I compared Linus' implementation to the public domain one
>> by Steve Reid[1]
>
> You _really_ need to talk about what kind of environment you have.
>
> There are three major issues:
> - Netburst vs non-netburst
> - 32-bit vs 64-bit
> - compiler version
Right. I'm running a Core 2 "Merom" 2.33GHz. The code was compiled for
x86_64 with GCC 4.2.1. I didn't _expect_ it to compile for x86_64, but
apparently the version of GCC that ships with Xcode 3.2 defaults to
compiling 64-bit code on machines that are capable of running it.
>
> Steve Reid's code looks great, but the way it is coded, gcc makes a mess
> of it, which is exactly what my SHA1 tries to avoid.
>
> [ In contrast, gcc does very well on just about _any_ straightforward
> unrolled SHA1 C code if the target architecture is something like PPC or
> ia64 that has enough registers to keep it all in registers.
>
> I haven't really tested other compilers - a less aggressive compiler
> would actually do _better_ on SHA1, because the problem with gcc is that
> it turns the whole temporary 16-entry word array into register accesses,
> and tries to do register allocation on that _array_.
>
> That is wonderful for the above-mentioned PPC and IA64, but it makes gcc
> create totally crazy code when there aren't enough registers, and then
> gcc starts spilling randomly (ie it starts spilling a-e etc). This is
> why the compiler and version matters so much. ]
>
>> (average of 5 runs)
>> Linus' sha1: 283MB/s
>> Steve Reid's sha1: 305MB/s
>
> So I get very different results:
>
> # TIME[s] SPEED[MB/s]
> Reid 2.742 222.6
> linus 1.464 417
Added -m32:
Steve Reid: 156MB/s
Linus: 209MB/s
So on x86, your code really kicks butt.
> this is Intel Nehalem, but compiled for 32-bit mode (which is the more
> challenging one because x86-32 only has 7 general-purpose registers), and
> with gcc-4.4.0.
>
> Linus
>
^ permalink raw reply
* Re: [PATCH] GIT_SSH does not override ssh in git-svn
From: Junio C Hamano @ 2009-08-17 21:40 UTC (permalink / raw)
To: Karthik R; +Cc: git
In-Reply-To: <4A89C6F8.3010100@fastmail.fm>
Karthik R <karthikr@fastmail.fm> writes:
> +my $git_ssh_user_set = 1 if defined $ENV{GIT_SSH};
> +if ($git_ssh_user_set) {
> + # If GIT_SSH is set, also set SVN_SSH...
> + $ENV{SVN_SSH} = $ENV{GIT_SSH};
> + # ... and escape \s in shell-variable on Windows
> + if ($^O eq 'MSWin32' || $^O eq 'msys') {
> + $ENV{SVN_SSH} =~ s/\\/\\\\/g;
> + }
> +}
> +
Why not just
if (defined $ENV{GIT_SSH}) {
...
???
> $Git::SVN::Log::TZ = $ENV{TZ};
> $ENV{TZ} = 'UTC';
> $| = 1; # unbuffer STDOUT
> --
> 1.5.4.3
^ permalink raw reply
* Re: [msysGit] Re: [PATCH 02/11] Fix declare variable at mid of function
From: Junio C Hamano @ 2009-08-17 21:38 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Frank Li, git, msysgit
In-Reply-To: <alpine.DEB.1.00.0908172258580.8306@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Of course, msysGit was not there yet to allow me to compile my tree (and
> more importantly, pass the test suite), so I did not realize the
> violations in compat/.
>
> Hence my intention to set the compiler flags just after merging the early
> commits of Frank's work.
Sounds very sensible.
^ permalink raw reply
* Re: [PATCH] GIT_SSH does not override ssh in git-svn
From: Johannes Schindelin @ 2009-08-17 21:38 UTC (permalink / raw)
To: Karthik R; +Cc: git
In-Reply-To: <4A89C6F8.3010100@fastmail.fm>
Hi,
On Mon, 17 Aug 2009, Karthik R wrote:
>
>
> Signed-off-by: Karthik R <karthikr@fastmail.fm>
> ---
>
> Setting GIT_SSH when using "git svn clone svn+ssh://..." does not override the
> default ssh; SVN_SSH needs to be set instead. Corrected this.
>
> Also, on Windows, SVN_SSH needs to be set with \ escaped
> e.g., "C:\\PuTTY\\plink.exe"
>
> See http://code.google.com/p/msysgit/issues/detail?id=305
This probably all wants to go into the commit message: it is very useful
information!
Besides, I think you would like to formulate the commit subject more
positive: "Respect GIT_SSH in git-svn" or some such. After all, you fix
the issue. IOW use the imperative: you command git-svn to behave ;-)
Ciao,
Dscho
^ permalink raw reply
* Re: Git User's Survey 2009 partial summary, part 2 - from first 10
From: Jakub Narebski @ 2009-08-17 21:39 UTC (permalink / raw)
To: Johan Herland; +Cc: git, msysgit
In-Reply-To: <200908171244.21693.johan@herland.net>
On Mon, 17 Aug 2009, Johan Herland wrote:
> On Monday 17 August 2009, Jakub Narebski wrote:
> > 9) On which operating system(s) do you use Git?
> > (Choice - Multiple answers)
> >
> > On Unix-based operating system you can get the name of operation
> > system by running 'uname'.
>
> I find it interesting to compare the answers to this question against
> previous years' surveys:
>
> =============================================================
> Operating system | 2009 [%] | 2008 [%] | 2007 [%]
> -------------------------------------------------------------
> Linux | 88% | 86% | 90%
> MacOS X (Darwin) | 44% | 47% | 15%
> MS Windows/Cygwin | 9% | 10% | >3%?
> MS Windows/msysGit (MINGW) | 21% | 16% | >0%?
> ............................|..........|..........|..........
> MS Windows (any) | 27% | <26%?| 9%
Whet might be also interesting is to have (also) bare numbers of
responses. Percentage alone wouldn't tell full story. If you have
(for example) 1000 Linux users, and there gets released native MacOS X
binary installer, and here comes 500 MacOS X users, the percentage
would decrease, because there are now more users, some of which are
not Linux users.
=================================================
Operating system | 2009 | 2008 | 2007#
-------------------------------------------------
Linux | 2623 | 2434 | 582
MacOS X (Darwin) | 1304 | 1330 | 94
MS Windows/Cygwin | 279 | 297 | 22
MS Windows/msysGit (MINGW) | 625 | 452 | 1
............................|......|......|......
MS Windows (any) | 820 | 749?| 58*
----------------------------+------+------+------
Answers | 2991 | 2842 | 645
=================================================
Footnotes:
[#] First download on current msysGit page is from Aug 2007
[*] Including unspecified version of Git for MS Windows.
[?] "Other, please specify" not included. It also doesn't
take into account overlap (one might use both msysGit and Cygwin
version, e.g. on different computers)
--
Jakub Narebski
Git User's Survey 2009: http://tinyurl.com/GitSurvey2009
^ permalink raw reply
* Re: CMake, was Re: [PATCH 09/11] Add MSVC porting header files.
From: Pau Garcia i Quiles @ 2009-08-17 21:29 UTC (permalink / raw)
To: Reece Dunn; +Cc: Johannes Schindelin, Frank Li, git, msysgit
In-Reply-To: <3f4fd2640908171420j2a359e99ga3d6fc3109547af6@mail.gmail.com>
On Mon, Aug 17, 2009 at 11:20 PM, Reece Dunn<msclrhd@googlemail.com> wrote:
> Realistically, you'd need CMake for Windows/msvc and autotools for
> POSIX systems. I know that CMake is supported on POSIX, but not
> everyone has access to it. Poppler, for example, has this dual build
> system to support Windows as well as other systems (that, and it has
> KDE4 bindings, so CMake is pretty much a given).
It's not exactly like that. It would be more accurate to say "if you
have POSIX, CMake will work; if you don't have POSIX, it may or may
not work".
I'd say 99% of git users run git on a platform which supports enough
POSIX to build CMake.
Please note if you are cross-compiling git, you need CMake (hence
POSIX) on the platform you are cross-compiling on (the "host
platform"), not on the platform you are cross-compiling for (the
"target platform").
> For CMake to work, it would need to support building all of git
> (including the man, html and pdf documents from the asciidoc sources),
> the localisation support and the optional packages (OpenSSL, CURL). I
> know that KDE uses CMake, so this should all be possible.
All possible. Plus using CMake would make easier to build installers
(NSIS, WiX, .deb, .rpm, etc), submit the results of the tests to a
dashboard ( http://my.cdash.org/ ), and more.
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Pau Garcia i Quiles @ 2009-08-17 21:23 UTC (permalink / raw)
To: Johannes Schindelin
Cc: Reece Dunn, Erik Faye-Lund, Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <alpine.DEB.1.00.0908172304200.8306@pacific.mpi-cbg.de>
On Mon, Aug 17, 2009 at 11:05 PM, Johannes
Schindelin<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote:
>
>> On Mon, Aug 17, 2009 at 10:43 PM, Reece Dunn<msclrhd@googlemail.com> wrote:
>> > 2009/8/17 Pau Garcia i Quiles <pgquiles@elpauer.org>:
>> >> On Mon, Aug 17, 2009 at 9:53 PM, Johannes
>> >> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>> >>
>> >>> Of course, we could have a script that verifies that the .vcproj
>> >>> files contain reference the appropriate files (which it would know
>> >>> about by being called from the Makefile and being passed the file
>> >>> names), maybe even be able to edit the .vcproj file if it is missing
>> >>> some. Should not be too hard in Perl.
>> >>
>> >> You'll need to special-case for Visual C++ 2010, which is different
>> >> and incompatible with previous versions. Hence my suggestion for
>> >> CMake: appropriate project files would be generated for the tool the
>> >> user chooses, be it VC++ 2005, VC++2010, gcc, Borland C++ or anything
>> >> else.
>> >
>> > The problem is that you'd still need the Visual Studio projects (one
>> > each for 6, 7 (2002), 7.1 (2003), 8 (2005), 9 (2008) and 10 (2010) --
>> > yes, there'll need to be one for each version of Visual Studio) as
>> > people who use Visual Studio tend to primarily use the IDE. CMake
>> > (which Windows users will need to download & install from somewhere)
>> > will sit outside this -- unless you mean making the project files be
>> > the "Makefile project" type and simply use it to invoke CMake and host
>> > the source files to ease access to them from the IDE?
>>
>> If a CMake build system is provided, you will not need a single Visual
>> Studio project, or the autotools build system, or anything else. Just
>> CMake and the CMake build system (which are a bunch of CMakeLists.txt
>> plain text files).
>
> You are putting an undue burden on the already overloaded maintainer.
Sorry, but I'm a bit lost now. What maintainer are we talking about now? Junio?
As I would be providing a turn-key CMake build system, the only burden
I would be putting on the maintainer would be learning CMake.
Given that I'm providing a comprehensive (100+ slides) CMake tutorial
( http://www.elpauer.org/stuff/learning_cmake.pdf ) , which I use in
my CMake workshops, I think I'm making that burden a bit lighter.
If the next git conference is somewhere in Europe, I could also fly
there and we'd have a CMake tutorial, if people would feel more
comfortable that way.
> Well, let's see if you can provide a /src/cmake/release.sh that compiles
> CMake from scratch, and _then_ I'll look into CMake again.
Again, I'm a bit lost. What '/src/cmake/release.sh' are we talking
about now? Would that be part of CMake or git ?
If you want to build CMake from scratch, you only need to download the
source from http://cmake.org/cmake/resources/software.html , then run
"./bootstrap" in the source directory. That's true for every platform
but Visual C++, which requires you to download a pre-built CMake
binary to build CMake.
If you mean you want to bootstrap git (i. e. download the git tarball,
which would include the CMake sources, then bootstrap CMake, then
build git using the CMake build system), I'd say that makes no sense
at all. That would be like saying you want to include the autotools
sources, the OpenSSL sources, the curl sources, the Subversion
sources, etc in the git tarball. Insane.
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
^ permalink raw reply
* Re: CMake, was Re: [PATCH 09/11] Add MSVC porting header files.
From: Reece Dunn @ 2009-08-17 21:20 UTC (permalink / raw)
To: Pau Garcia i Quiles; +Cc: Johannes Schindelin, Frank Li, git, msysgit
In-Reply-To: <3af572ac0908171251y355a1e2bjf2d10192bc3eca2e@mail.gmail.com>
2009/8/17 Pau Garcia i Quiles <pgquiles@elpauer.org>:
> On Mon, Aug 17, 2009 at 9:48 PM, Johannes
> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>
>> On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote:
>>
>>> What about having a CMake build system, which would work on every
>>> platform (including cross-compiling), and would produce an appropriate
>>> config.h and makefiles/vcproj/Eclipse projects/XCode projects/whatever
>>> is fit for each platform? If it's OK to include such a build system
>>> upstream, I'm volunteering to implement it.
>>
>> And reap in another dependency?
>>
>> First Python, then CMake, what tomorrow? Is it the month of adding
>> dependencies?
>
> I'd say it's the month of getting problems solved.
>
> CMake would make git a lot easier to build on Windows, particularly
> with Visual C++. Replace autotools with CMake and suddenly you need to
> maintain a single build system for every platform and compiler git
> supports/will support. That's a sound advantage to me.
Realistically, you'd need CMake for Windows/msvc and autotools for
POSIX systems. I know that CMake is supported on POSIX, but not
everyone has access to it. Poppler, for example, has this dual build
system to support Windows as well as other systems (that, and it has
KDE4 bindings, so CMake is pretty much a given).
For CMake to work, it would need to support building all of git
(including the man, html and pdf documents from the asciidoc sources),
the localisation support and the optional packages (OpenSSL, CURL). I
know that KDE uses CMake, so this should all be possible.
- Reece
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Reece Dunn @ 2009-08-17 21:05 UTC (permalink / raw)
To: Pau Garcia i Quiles
Cc: Johannes Schindelin, Erik Faye-Lund, Paolo Bonzini, Frank Li, git,
msysgit
In-Reply-To: <3af572ac0908171354i6dd231etb576859ab8941214@mail.gmail.com>
2009/8/17 Pau Garcia i Quiles <pgquiles@elpauer.org>:
> On Mon, Aug 17, 2009 at 10:43 PM, Reece Dunn<msclrhd@googlemail.com> wrote:
>> 2009/8/17 Pau Garcia i Quiles <pgquiles@elpauer.org>:
>>> On Mon, Aug 17, 2009 at 9:53 PM, Johannes
>>> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>>>
>>>> Of course, we could have a script that verifies that the .vcproj files
>>>> contain reference the appropriate files (which it would know about by
>>>> being called from the Makefile and being passed the file names), maybe
>>>> even be able to edit the .vcproj file if it is missing some. Should not
>>>> be too hard in Perl.
>>>
>>> You'll need to special-case for Visual C++ 2010, which is different
>>> and incompatible with previous versions. Hence my suggestion for
>>> CMake: appropriate project files would be generated for the tool the
>>> user chooses, be it VC++ 2005, VC++2010, gcc, Borland C++ or anything
>>> else.
>>
>> The problem is that you'd still need the Visual Studio projects (one
>> each for 6, 7 (2002), 7.1 (2003), 8 (2005), 9 (2008) and 10 (2010) --
>> yes, there'll need to be one for each version of Visual Studio) as
>> people who use Visual Studio tend to primarily use the IDE. CMake
>> (which Windows users will need to download & install from somewhere)
>> will sit outside this -- unless you mean making the project files be
>> the "Makefile project" type and simply use it to invoke CMake and host
>> the source files to ease access to them from the IDE?
>
> If a CMake build system is provided, you will not need a single Visual
> Studio project, or the autotools build system, or anything else. Just
> CMake and the CMake build system (which are a bunch of CMakeLists.txt
> plain text files).
Note that I said that people who use Visual Studio are more likely to
build and develop things through the Visual Studio IDE. Unless there
is IDE integration for it, they are not likely to use it.
For an automated build, CMake would probably work.
Looking around, it seems that CMake on Windows assumes that Microsoft
Visual C is used; that is, you have to explicitly specify CC for MinGW
or cygwin to build.
> CMake takes the CMakeLists.txt file(s) as the input and generates
> makefiles for gcc, vcproj files for Visual C++, makefiles for NMake,
> Eclipse projects for Eclipse, XCode projects for XCode, etc.
>
>> Also, not every posix system will have CMake installed (e.g. Linux
>> From Scratch systems) and that's not including "exotic" systems like
>> Solaris and the *BSDs.
>
> CMake is available for many platforms (Linux x86-32 and x86-64, PPC,
> Solaris Sparc, HP-UX, Irix, AIX PPC) as a binary from the CMake site (
> http://cmake.org/cmake/resources/software.html ) and as source for the
> rest.
>
> *BSD? It is available in the ports section (and maybe as a binary,
> too) in FreeBSD(
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/cmake/ ), NetBSD and
> OpenBSD.
Ok, I stand corrected there.
> Linux from scratch? If people are brave enough to build and use LFS,
> they are brave enough to build CMake (CMake is autocontained and
> bootstraps itself, it only depends on a C++ compiler to build itself).
At what about at the bootstrap stage? A C compiler will be available,
but a C++ one may not.
- Reece
^ permalink raw reply
* Re: [PATCH 10/11] Add MSVC Project file
From: Johannes Schindelin @ 2009-08-17 21:11 UTC (permalink / raw)
To: Pau Garcia i Quiles; +Cc: Erik Faye-Lund, Paolo Bonzini, Frank Li, git, msysgit
In-Reply-To: <3af572ac0908171359o33f6ca70n599bdc27be74784a@mail.gmail.com>
Hi,
On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote:
> On Mon, Aug 17, 2009 at 10:56 PM, Johannes
> Schindelin<Johannes.Schindelin@gmx.de> wrote:
>
> > The problem is that this will bitrot even more, as nobody will use it
> > for gcc, Borland C++, XCode, Eclipse or anything else, except for
> > Microsoft Visual C++.
>
> How do you know? Also, please note I'm not talking about *adding* a
> CMake build system, I'm talking about *replacing* the existing autotools
> build system with a CMake build system, even if they coexist for some
> time.
You are mistaken. We do not require using the autotools. I _never_ call
"./configure" yet the Makefile magically works. Cool, huh?
But here's a clue: you will probably _never_ succeed in getting a
replacement of the make-based build in git.git by the maintainer. Make is
just too ubiquitous and well-established for that.
Having said that, a CMake-based system _in addition_ to what is
tried-and-tested to be able to support all those different kinds of
Microsoft Visual Studio (took me 3 attempts to write that without a
Freudian) would be welcome, _if_ you succeed in making it compile out of
the box on msysGit.
By out-of-the-box I mean: you send a patch that adds
/src/cmake/release.sh, I apply the patch (after briefly scanning that it
does not install a backdoor on a machine that is not even mine, and
therefore will never see even a single of my passwords typed in), run it,
it compiles installs and commits cmake and cmake works.
If that's not possible, I refuse to add another problem rather than
solving one.
If you succeed, I will ask you to do the same for Python, as you clearly
proved by that point that you are a magician.
Ciao,
Dscho
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox