* Using VC build git
@ 2009-08-10 13:56 Frank Li
2009-08-10 14:07 ` [msysGit] " Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Frank Li @ 2009-08-10 13:56 UTC (permalink / raw)
To: git, msysGit
[-- Attachment #1: Type: text/plain, Size: 36 bytes --]
pull from git://repo.or.cz/tgit.git
[-- Attachment #2: 0005-git-commit-okay.patch --]
[-- Type: application/octet-stream, Size: 1970 bytes --]
From 62b705d074a3eeffe8af5c8c0334f12ec76d1cee Mon Sep 17 00:00:00 2001
From: Frank Li <lznuaa@gmail.com>
Date: Sat, 8 Aug 2009 13:35:40 +0800
Subject: [PATCH 5/5] git commit okay
Signed-off-by: Frank Li <lznuaa@gmail.com>
---
compat/mingw.c | 6 +++++-
contrib/vcbuild/porting.c | 2 +-
editor.c | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/compat/mingw.c b/compat/mingw.c
index 1cc2cb7..79cbd9f 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -275,7 +275,7 @@ int mkstemp(char *template)
char *filename = mktemp(template);
if (filename == NULL)
return -1;
- return open(filename, O_RDWR | O_CREAT, 0600);
+ return _open(filename, _O_RDWR | _O_CREAT | _O_BINARY, 0600);
}
int gettimeofday(struct timeval *tv, void *tz)
@@ -1144,6 +1144,10 @@ int link(const char *oldpath, const char *newpath)
{
typedef BOOL WINAPI (*T)(const char*, const char*, LPSECURITY_ATTRIBUTES);
static T create_hard_link = NULL;
+
+ errno = ENOSYS;
+ return -1;
+
if (!create_hard_link) {
create_hard_link = (T) GetProcAddress(
GetModuleHandle("kernel32.dll"), "CreateHardLinkA");
diff --git a/contrib/vcbuild/porting.c b/contrib/vcbuild/porting.c
index 0625bb4..cf83efc 100644
--- a/contrib/vcbuild/porting.c
+++ b/contrib/vcbuild/porting.c
@@ -10,7 +10,7 @@ int snprintf(char *buff,int size, char *fmt, ...)
int n;
va_list pArgList;
va_start(pArgList,fmt);
- n=_snprintf(buff,size-1,fmt,pArgList);
+ n=_vsnprintf(buff,size-1,fmt,pArgList);
va_end(pArgList);
return n;
}
diff --git a/editor.c b/editor.c
index 4d469d0..a9a3b7c 100644
--- a/editor.c
+++ b/editor.c
@@ -13,6 +13,8 @@ int launch_editor(const char *path, struct strbuf *buffer, const char *const *en
editor = getenv("VISUAL");
if (!editor)
editor = getenv("EDITOR");
+ if (!editor)
+ editor = "notepad2";
terminal = getenv("TERM");
if (!editor && (!terminal || !strcmp(terminal, "dumb")))
--
1.6.4.msysgit.0
[-- Attachment #3: 0001-build-git-library.patch --]
[-- Type: application/octet-stream, Size: 58215 bytes --]
From 5352796e16d5781613968dc4fcf74ad5e3d7306d Mon Sep 17 00:00:00 2001
From: Frank Li <lznuaa@gmail.com>
Date: Wed, 5 Aug 2009 12:51:46 +0800
Subject: [PATCH 1/5] build git library
---
builtin-fast-export.c | 1 +
compat/fopen.c | 1 +
compat/mingw.c | 4 +-
compat/mingw.h | 9 +-
contrib/vcbuild/include/unistd.h | 8 +-
contrib/vcbuild/libgit/libgit.vcproj | 2688 +++++++++++++++++-----------------
contrib/vcbuild/vcbuild.sln | 29 +
help.c | 3 +-
run-command.c | 3 +
9 files changed, 1403 insertions(+), 1343 deletions(-)
create mode 100644 contrib/vcbuild/vcbuild.sln
diff --git a/builtin-fast-export.c b/builtin-fast-export.c
index c48c18d..24a50ae 100644
--- a/builtin-fast-export.c
+++ b/builtin-fast-export.c
@@ -24,6 +24,7 @@ static const char *fast_export_usage[] = {
static int progress;
static enum { ABORT, VERBATIM, WARN, STRIP } signed_tag_mode = ABORT;
+#undef ERROR
static enum { ERROR, DROP, REWRITE } tag_of_filtered_mode = ABORT;
static int fake_missing_tagger;
diff --git a/compat/fopen.c b/compat/fopen.c
index b5ca142..b9a02e4 100644
--- a/compat/fopen.c
+++ b/compat/fopen.c
@@ -10,6 +10,7 @@
*/
#undef FREAD_READS_DIRECTORIES
#include "../git-compat-util.h"
+#undef stat
FILE *git_fopen(const char *path, const char *mode)
{
diff --git a/compat/mingw.c b/compat/mingw.c
index 405a51e..f3a74f8 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -151,6 +151,7 @@ static inline time_t filetime_to_time_t(const FILETIME *ft)
* When a path ends with a slash, the stat will fail with ENOENT. In
* this case, we strip the trailing slashes and stat again.
*/
+#undef stat
static int do_lstat(const char *file_name, struct stat *buf)
{
WIN32_FILE_ATTRIBUTE_DATA fdata;
@@ -1200,8 +1201,9 @@ struct dirent *mingw_readdir(DIR *dir)
if (dir->dd_handle == (long)INVALID_HANDLE_VALUE && dir->dd_stat == 0)
{
+ DWORD lasterr;
handle = FindFirstFileA(dir->dd_name, &buf);
- DWORD lasterr = GetLastError();
+ lasterr = GetLastError();
dir->dd_handle = (long)handle;
if (handle == INVALID_HANDLE_VALUE && (lasterr != ERROR_NO_MORE_FILES)) {
errno = err_win_to_posix(lasterr);
diff --git a/compat/mingw.h b/compat/mingw.h
index 0ede971..281bfde 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -171,13 +171,20 @@ int mingw_getpagesize(void);
/* Use mingw_lstat() instead of lstat()/stat() and
* mingw_fstat() instead of fstat() on Windows.
*/
+#undef off_t
#define off_t off64_t
-#define stat _stati64
+#undef stat
+#define stat _stat64
+#define stat(x,y) _stati64(x,y)
+#undef lseek
#define lseek _lseeki64
int mingw_lstat(const char *file_name, struct stat *buf);
int mingw_fstat(int fd, struct stat *buf);
+#undef fstat
#define fstat mingw_fstat
+#undef lstat
#define lstat mingw_lstat
+#undef _stati64
#define _stati64(x,y) mingw_lstat(x,y)
int mingw_utime(const char *file_name, const struct utimbuf *times);
diff --git a/contrib/vcbuild/include/unistd.h b/contrib/vcbuild/include/unistd.h
index 311cbc0..5b4d780 100644
--- a/contrib/vcbuild/include/unistd.h
+++ b/contrib/vcbuild/include/unistd.h
@@ -4,6 +4,7 @@
/*Configuration*/
#define __MINGW32__
+#define NO_LIBGEN_H
#define NO_SYS_SELECT_H
#define NO_PTHEADS
#define HAVE_STRING_H 1
@@ -17,7 +18,7 @@
#define NTDDI_VERSION NTDDI_WIN2KSP1
#define inline __inline
#define __inline__ __inline
-#define NO_MMAP
+#define USE_WIN32_MMAP
#define SHA1_HEADER "mozilla-sha1\\sha1.h"
#define NO_ST_BLOCKS_IN_STRUCT_STAT
#define ETC_GITCONFIG "%HOME%"
@@ -30,6 +31,7 @@
#define va_copy va_start
#define NO_STRTOUMAX
#define REGEX_MALLOC
+#define NO_NSEC
/* Win32 define for porting git*/
@@ -73,6 +75,8 @@ typedef unsigned long long uint64_t;
typedef long long intmax_t;
typedef unsigned long long uintmax_t;
+typedef int64_t off64_t;
+
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
@@ -137,6 +141,6 @@ typedef unsigned long long uintmax_t;
#define close _close
#define dup _dup
#define dup2 _dup2
-#define lseek _lseek
+//#define lseek _lseek
#define write vs_write
#endif
\ No newline at end of file
diff --git a/contrib/vcbuild/libgit/libgit.vcproj b/contrib/vcbuild/libgit/libgit.vcproj
index b6579e4..8bf9696 100644
--- a/contrib/vcbuild/libgit/libgit.vcproj
+++ b/contrib/vcbuild/libgit/libgit.vcproj
@@ -1,1338 +1,1350 @@
-<?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="..\..\..;..\..;..\;..\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="1"
- 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="..\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="..\porting.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\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\mmap.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\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="..\..\..\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-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-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-replace.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="..\..\..\name-hash.c"
- >
- </File>
- <File
- RelativePath="..\..\..\notes.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="..\..\..\replace_object.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>
- <File
- RelativePath=".\ReadMe.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?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="..\..\..;..\..;..\;..\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="1"
+ 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="..\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="..\porting.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>
+ <File
+ RelativePath=".\ReadMe.txt"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/contrib/vcbuild/vcbuild.sln b/contrib/vcbuild/vcbuild.sln
new file mode 100644
index 0000000..fbd1377
--- /dev/null
+++ b/contrib/vcbuild/vcbuild.sln
@@ -0,0 +1,29 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgit", "libgit\libgit.vcproj", "{F6DEC8C3-B803-4A86-8848-430F08B499E3}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "git", "git\git.vcproj", "{E3E30E51-C5AD-407B-AB43-985E4111474A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {F6DEC8C3-B803-4A86-8848-430F08B499E3} = {F6DEC8C3-B803-4A86-8848-430F08B499E3}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F6DEC8C3-B803-4A86-8848-430F08B499E3}.Debug|Win32.ActiveCfg = Debug|Win32
+ {F6DEC8C3-B803-4A86-8848-430F08B499E3}.Debug|Win32.Build.0 = Debug|Win32
+ {F6DEC8C3-B803-4A86-8848-430F08B499E3}.Release|Win32.ActiveCfg = Release|Win32
+ {F6DEC8C3-B803-4A86-8848-430F08B499E3}.Release|Win32.Build.0 = Release|Win32
+ {E3E30E51-C5AD-407B-AB43-985E4111474A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E3E30E51-C5AD-407B-AB43-985E4111474A}.Debug|Win32.Build.0 = Debug|Win32
+ {E3E30E51-C5AD-407B-AB43-985E4111474A}.Release|Win32.ActiveCfg = Release|Win32
+ {E3E30E51-C5AD-407B-AB43-985E4111474A}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/help.c b/help.c
index 6c46d8b..399b0b4 100644
--- a/help.c
+++ b/help.c
@@ -127,7 +127,7 @@ static int is_executable(const char *name)
return 0;
#ifdef __MINGW32__
- /* cannot trust the executable bit, peek into the file instead */
+{ /* cannot trust the executable bit, peek into the file instead */
char buf[3] = { 0 };
int n;
int fd = open(name, O_RDONLY);
@@ -140,6 +140,7 @@ static int is_executable(const char *name)
st.st_mode |= S_IXUSR;
close(fd);
}
+}
#endif
return st.st_mode & S_IXUSR;
}
diff --git a/run-command.c b/run-command.c
index ff3d8e2..06cce47 100644
--- a/run-command.c
+++ b/run-command.c
@@ -123,6 +123,7 @@ int start_command(struct child_process *cmd)
exit(127);
}
#else
+{
int s0 = -1, s1 = -1, s2 = -1; /* backups of stdin, stdout, stderr */
const char **sargv = cmd->argv;
char **env = environ;
@@ -186,6 +187,7 @@ int start_command(struct child_process *cmd)
dup2(s1, 1), close(s1);
if (s2 >= 0)
dup2(s2, 2), close(s2);
+}
#endif
if (cmd->pid < 0) {
@@ -293,6 +295,7 @@ int run_command_v_opt_cd_env(const char **argv, int opt, const char *dir, const
}
#ifdef __MINGW32__
+#define __stdcall
static __stdcall unsigned run_thread(void *data)
{
struct async *async = data;
--
1.6.4.msysgit.0
[-- Attachment #4: 0002-enable-release-build.patch --]
[-- Type: application/octet-stream, Size: 55475 bytes --]
From ba67bc0341367ccaab1317902ae8acd7209214b7 Mon Sep 17 00:00:00 2001
From: Frank Li <lznuaa@gmail.com>
Date: Wed, 5 Aug 2009 14:39:01 +0800
Subject: [PATCH 2/5] enable release build
---
compat/mingw.c | 1 -
compat/mingw.h | 13 +-
contrib/vcbuild/git/git.vcproj | 6 +-
contrib/vcbuild/include/unistd.h | 39 +-
contrib/vcbuild/libgit/libgit.vcproj | 2700 +++++++++++++++++-----------------
5 files changed, 1394 insertions(+), 1365 deletions(-)
diff --git a/compat/mingw.c b/compat/mingw.c
index f3a74f8..96c1a5f 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -151,7 +151,6 @@ static inline time_t filetime_to_time_t(const FILETIME *ft)
* When a path ends with a slash, the stat will fail with ENOENT. In
* this case, we strip the trailing slashes and stat again.
*/
-#undef stat
static int do_lstat(const char *file_name, struct stat *buf)
{
WIN32_FILE_ATTRIBUTE_DATA fdata;
diff --git a/compat/mingw.h b/compat/mingw.h
index 281bfde..b4276c4 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -173,19 +173,24 @@ int mingw_getpagesize(void);
*/
#undef off_t
#define off_t off64_t
-#undef stat
+
+
+#define stat(x,y) mingw_lstat(x,y)
#define stat _stat64
-#define stat(x,y) _stati64(x,y)
+
#undef lseek
#define lseek _lseeki64
+
int mingw_lstat(const char *file_name, struct stat *buf);
int mingw_fstat(int fd, struct stat *buf);
+
#undef fstat
#define fstat mingw_fstat
+
#undef lstat
#define lstat mingw_lstat
-#undef _stati64
-#define _stati64(x,y) mingw_lstat(x,y)
+
+
int mingw_utime(const char *file_name, const struct utimbuf *times);
#define utime mingw_utime
diff --git a/contrib/vcbuild/git/git.vcproj b/contrib/vcbuild/git/git.vcproj
index ff5e1d9..49ab8bf 100644
--- a/contrib/vcbuild/git/git.vcproj
+++ b/contrib/vcbuild/git/git.vcproj
@@ -91,10 +91,10 @@
</Configuration>
<Configuration
Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
- CharacterSet="1"
+ CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
@@ -116,6 +116,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\..\..;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
@@ -134,6 +135,7 @@
/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="wininet.lib ws2_32.lib ../lib/zlib.lib"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
diff --git a/contrib/vcbuild/include/unistd.h b/contrib/vcbuild/include/unistd.h
index 5b4d780..3450bc3 100644
--- a/contrib/vcbuild/include/unistd.h
+++ b/contrib/vcbuild/include/unistd.h
@@ -4,13 +4,35 @@
/*Configuration*/
#define __MINGW32__
+#define NO_PREAD
+#define NO_OPENSSL
#define NO_LIBGEN_H
+#define NO_SYMLINK_HEAD
+#define NO_IPV6
+#define NO_SETENV
+#define NO_UNSETENV
+#define NO_STRCASESTR
+#define NO_STRLCPY
+#define NO_MEMMEM
+#define NO_C99_FORMAT
+#define NO_STRTOUMAX
+#define NO_MKDTEMP
+#define NO_MKSTEMPS
+
+#define RUNTIME_PREFIX
+#define NO_ST_BLOCKS_IN_STRUCT_STAT
+#define NO_NSEC
+#define USE_WIN32_MMAP
+#define USE_NED_ALLOCATOR
+
+#define NO_REGEX
+
#define NO_SYS_SELECT_H
#define NO_PTHEADS
#define HAVE_STRING_H 1
#define STDC_HEADERS
#define NO_ICONV
-#define NO_OPENSSL
+
#define WINVER 0x0500
#define _WIN32_WINNT 0x0500
#define _WIN32_WINDOWS 0x0410
@@ -18,20 +40,21 @@
#define NTDDI_VERSION NTDDI_WIN2KSP1
#define inline __inline
#define __inline__ __inline
-#define USE_WIN32_MMAP
+
#define SHA1_HEADER "mozilla-sha1\\sha1.h"
-#define NO_ST_BLOCKS_IN_STRUCT_STAT
+
#define ETC_GITCONFIG "%HOME%"
-#define NO_IPV6
-#define RUNTIME_PREFIX
+
#define NO_PTHREADS
#define NO_CURL
-#define NO_MEMMEM
-#define NO_STRCASESTR
+
+
#define va_copy va_start
#define NO_STRTOUMAX
#define REGEX_MALLOC
-#define NO_NSEC
+
+
+
/* Win32 define for porting git*/
diff --git a/contrib/vcbuild/libgit/libgit.vcproj b/contrib/vcbuild/libgit/libgit.vcproj
index 8bf9696..7e45146 100644
--- a/contrib/vcbuild/libgit/libgit.vcproj
+++ b/contrib/vcbuild/libgit/libgit.vcproj
@@ -1,1350 +1,1350 @@
-<?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="..\..\..;..\..;..\;..\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="1"
- 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="..\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="..\porting.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>
- <File
- RelativePath=".\ReadMe.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?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="..\..\..;..\..;..\;..\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"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\..\..;..\..;..\;..\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="..\porting.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>
+ <File
+ RelativePath=".\ReadMe.txt"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
--
1.6.4.msysgit.0
[-- Attachment #5: 0003-Release-log-command-okay.patch --]
[-- Type: application/octet-stream, Size: 848 bytes --]
From bbec8b9376d7183abda907de0e4f995f79fe9914 Mon Sep 17 00:00:00 2001
From: Frank Li <lznuaa@gmail.com>
Date: Wed, 5 Aug 2009 21:31:36 +0800
Subject: [PATCH 3/5] Release log command okay
---
contrib/vcbuild/libgit/libgit.vcproj | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/contrib/vcbuild/libgit/libgit.vcproj b/contrib/vcbuild/libgit/libgit.vcproj
index 7e45146..4f2d234 100644
--- a/contrib/vcbuild/libgit/libgit.vcproj
+++ b/contrib/vcbuild/libgit/libgit.vcproj
@@ -105,6 +105,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="2"
+ InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="..\..\..;..\..;..\;..\include;..\..\..\compat;..\..\..\compat\fnmatch;..\..\..\compat\regex;.\"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
--
1.6.4.msysgit.0
[-- Attachment #6: 0004-Move-open-dir-function-to-mingw.c.patch --]
[-- Type: application/octet-stream, Size: 55367 bytes --]
From b152ebd366280699a166c51466a031329e3d1300 Mon Sep 17 00:00:00 2001
From: Frank Li <lznuaa@gmail.com>
Date: Sat, 8 Aug 2009 11:45:17 +0800
Subject: [PATCH 4/5] Move open dir function to mingw.c
Signed-off-by: Frank Li <lznuaa@gmail.com>
---
compat/mingw.c | 32 +
contrib/vcbuild/include/unistd.h | 9 +-
contrib/vcbuild/libgit/libgit.vcproj | 2702 +++++++++++++++++-----------------
contrib/vcbuild/porting.c | 66 +-
4 files changed, 1393 insertions(+), 1416 deletions(-)
diff --git a/compat/mingw.c b/compat/mingw.c
index 96c1a5f..1cc2cb7 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -1234,4 +1234,36 @@ struct dirent *mingw_readdir(DIR *dir)
return (struct dirent*)&dir->dd_dir;
}
+
+DIR *opendir(const char *name)
+{
+ int len;
+ DIR *p;
+ p=(DIR*)malloc(sizeof(DIR));
+ memset(p,0,sizeof(DIR));
+ strncpy(p->dd_name,name,PATH_MAX);
+ len=strlen(p->dd_name);
+ p->dd_name[len]='/';
+ p->dd_name[len+1]='*';
+
+ if(p==NULL)
+ return NULL;
+
+ p->dd_handle=_findfirst(p->dd_name,&p->dd_dta);
+
+ if(p->dd_handle == -1)
+ {
+ free(p);
+ return NULL;
+ }
+ return p;
+}
+int closedir(DIR *dir)
+{
+ _findclose(dir->dd_handle);
+ free(dir);
+ return 0;
+}
+
#endif // !NO_MINGW_REPLACE_READDIR
+
diff --git a/contrib/vcbuild/include/unistd.h b/contrib/vcbuild/include/unistd.h
index 3450bc3..93ecd74 100644
--- a/contrib/vcbuild/include/unistd.h
+++ b/contrib/vcbuild/include/unistd.h
@@ -151,9 +151,10 @@ typedef int64_t off64_t;
#define GIT_VERSION "1.6"
#define BINDIR "bin"
#define PREFIX "."
-#define GIT_MAN_PATH "../man"
-#define GIT_INFO_PATH "../info"
-#define GIT_HTML_PATH "../html"
+#define GIT_MAN_PATH "man"
+#define GIT_INFO_PATH "info"
+#define GIT_HTML_PATH "html"
+#define DEFAULT_GIT_TEMPLATE_DIR "templates"
#define NO_STRLCPY
#define NO_UNSETENV
@@ -165,5 +166,5 @@ typedef int64_t off64_t;
#define dup _dup
#define dup2 _dup2
//#define lseek _lseek
-#define write vs_write
+//#define write vs_write
#endif
\ No newline at end of file
diff --git a/contrib/vcbuild/libgit/libgit.vcproj b/contrib/vcbuild/libgit/libgit.vcproj
index 4f2d234..5bac103 100644
--- a/contrib/vcbuild/libgit/libgit.vcproj
+++ b/contrib/vcbuild/libgit/libgit.vcproj
@@ -1,1351 +1,1351 @@
-<?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="..\..\..;..\..;..\;..\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="..\..\..;..\..;..\;..\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="..\porting.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>
- <File
- RelativePath=".\ReadMe.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?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="..\..\..;..\..;..\;..\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="..\..\..;..\..;..\;..\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="..\porting.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>
+ <File
+ RelativePath=".\ReadMe.txt"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/contrib/vcbuild/porting.c b/contrib/vcbuild/porting.c
index 5381862..0625bb4 100644
--- a/contrib/vcbuild/porting.c
+++ b/contrib/vcbuild/porting.c
@@ -7,10 +7,12 @@
int snprintf(char *buff,int size, char *fmt, ...)
{
+ int n;
va_list pArgList;
va_start(pArgList,fmt);
- _snprintf(buff,size-1,fmt,pArgList);
+ n=_snprintf(buff,size-1,fmt,pArgList);
va_end(pArgList);
+ return n;
}
int strcasecmp (const char *s1, const char *s2)
@@ -18,16 +20,12 @@ int strcasecmp (const char *s1, const char *s2)
int size1=strlen(s1);
int sisz2=strlen(s2);
- _strnicmp(s1,s2,sisz2>size1?sisz2:size1);
+ return _strnicmp(s1,s2,sisz2>size1?sisz2:size1);
}
int strncasecmp (const char *s1, const char *s2,size_t n)
{
- _strnicmp(s1,s2,n);
-}
-size_t getpagesize(void)
-{
- return 0x1000;
+ return _strnicmp(s1,s2,n);
}
unsigned long long int
@@ -35,57 +33,3 @@ strtoull(const char *nptr, char **endptr, int base)
{
return _strtoui64(nptr,endptr,base);
}
-
-DIR *opendir(const char *name)
-{
- int len;
- DIR *p;
- p=(DIR*)malloc(sizeof(DIR));
- memset(p,0,sizeof(DIR));
- strncpy(p->dd_name,name,PATH_MAX);
- len=strlen(p->dd_name);
- p->dd_name[len]='/';
- p->dd_name[len+1]='*';
-
- if(p==NULL)
- return NULL;
-
- p->dd_handle=_findfirst(p->dd_name,&p->dd_dta);
-
- if(p->dd_handle == -1)
- {
- free(p);
- return NULL;
- }
- return p;
-}
-int closedir(DIR *dir)
-{
- _findclose(dir->dd_handle);
- free(dir);
- return 0;
-}
-struct dirent *readdir(DIR *dir)
-{
- if(_findnext(dir->dd_handle,&dir->dd_dta))
- return NULL;
-
- strcpy(dir->dd_dir.d_name,dir->dd_dta.name);
- dir->dd_dir.d_namlen = dir->dd_dta.size;
-
- return &dir->dd_dir;
-}
-char *mkdtemp(char *template)
-{
- return NULL;
-}
-ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset)
-{
- _lseek(fd,offset,SEEK_SET);
- return read(fd,buf,nbytes);
-}
-
-int vs_write(int fd, void * buf, size_t nbytes)
-{
- return _write(fd,buf,nbytes);
-}
\ No newline at end of file
--
1.6.4.msysgit.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [msysGit] Using VC build git
2009-08-10 13:56 Using VC build git Frank Li
@ 2009-08-10 14:07 ` Johannes Schindelin
2009-08-10 14:29 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2009-08-10 14:07 UTC (permalink / raw)
To: Frank Li; +Cc: git, msysGit
Hi,
On Mon, 10 Aug 2009, Frank Li wrote:
> pull from git://repo.or.cz/tgit.git
Why the heck is this not a fork of git.git?
And did you not forget to mention which branch?
And is "git commit okay" really a sensible _full_ commit message?
Please, we have _high_ standards in git.git, and I really do not want to
have to take anything to Junio that does not fulfill that standard.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [msysGit] Using VC build git
2009-08-10 14:07 ` [msysGit] " Johannes Schindelin
@ 2009-08-10 14:29 ` Johannes Schindelin
2009-08-11 1:26 ` Frank Li
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2009-08-10 14:29 UTC (permalink / raw)
To: Frank Li; +Cc: git, msysGit
Hi,
On Mon, 10 Aug 2009, Johannes Schindelin wrote:
> Please, we have _high_ standards in git.git, and I really do not want to
> have to take anything to Junio that does not fulfill that standard.
To elaborate: if I see something like this in the --stat:
contrib/vcbuild/include/zlib.h | 1357 +++++++++++++++++++++++++++++++++
contrib/vcbuild/lib/zlib.lib | Bin 0 -> 104148 bytes
... I know already that there is no way this can make it into git.git.
There just is not.
Also, if the first commit says nothing else than "Rebase to v1.6.4", it
is pretty obvious to me that I will not sign off on that (and I just guess
that is the very reason you did not sign off on that, either).
Further, putting anything into contrib/ that really belongs into contrib/
is not cutting it, either.
And I am pretty astonished that mingw.[ch] is touched, as VC is definitely
not MinGW32.
Changing 1000+ lines of libgit.vcproj in almost every commit is also
something I really do not look upon favorably.
Finally, if _no single_ commit message says _anything_ about the reasons
why you had to change code outside of vcbuild/, I am only puzzled.
Now, I want to give you a pretty clear idea what has to be done if this is
going into 4msysgit.git, ever, because you obviously spent a lot of time
on it, and other people want it, too:
- changing "open" to "_open" in mingw.c is a no-no-no. If you need to use
"_open" in VC, then define "open" in the compile flags for mingw.c, but
leave code that is not written for VC alone.
- introducing trailing whitespace is usually a sign of not caring enough
about clean and neat code. So just don't do it.
- making link() fail on MinGW32 just to be able to compile it with VC is
outright rude against all people who use a free and open compiler
instead of a closed one.
- changing an "_snprintf" to "_vsnprintf" in vcbuild/porting.c without
anything else is a clear and loud sign that the code before was broken,
and that you fix a faulty patch in a later patch. This is not how we do
things in git.git. We fix the proper patch before the patch series is
accepted into mainline.
- violating the coding style -- even if it is in your VC-specific part --
is not an option. You need to fix the coding style.
- violating the coding style in files that are not VC-specific is not an
option at all. You really need to fix it.
- changing the default editor from "vi" to "notepad2" will break almost
every existing Git user's setup. That is just inexcusable.
Note: these comments are _just for the last_ of your 5 patches.
Just a brief comment on the 4th patch, because I really do not want to
spend more time on this round of patches: spelling the opendir() function
as "open dir" function in the commit message is misleading, to say the
least, and moving code that was added in a previous patch in the same
patch series just shows that it was a mistake to begin with. Besides,
don't move anything into mingw.c if MinGW32 does not need it.
Hth,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [msysGit] Using VC build git
2009-08-10 14:29 ` Johannes Schindelin
@ 2009-08-11 1:26 ` Frank Li
2009-08-12 7:13 ` [msysGit] " Marius Storm-Olsen
0 siblings, 1 reply; 5+ messages in thread
From: Frank Li @ 2009-08-11 1:26 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git, msysGit
Thank you take care my patch.
I can fix all problems.
This patch is base on v1.6.4 release. My working branch is vc_build
at git://repo.or.cz/tgit.git.
That is actually prototype to approve VC can build git.
The code style is not big problem. I will fix it.
VC build will reuse many msysgit works because msysgit really do many
work at windows porting.
I think the below is most important problem.
1. Where are vcbuild directory put, is it okay under contrib ?
2. How to handle external library, such as zlib? Can use submodule?
2009/8/10, Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Hi,
>
> On Mon, 10 Aug 2009, Johannes Schindelin wrote:
>
>> Please, we have _high_ standards in git.git, and I really do not want to
>> have to take anything to Junio that does not fulfill that standard.
>
> To elaborate: if I see something like this in the --stat:
>
> contrib/vcbuild/include/zlib.h | 1357
> +++++++++++++++++++++++++++++++++
> contrib/vcbuild/lib/zlib.lib | Bin 0 -> 104148 bytes
>
> ... I know already that there is no way this can make it into git.git.
> There just is not.
>
> Also, if the first commit says nothing else than "Rebase to v1.6.4", it
> is pretty obvious to me that I will not sign off on that (and I just guess
> that is the very reason you did not sign off on that, either).
>
> Further, putting anything into contrib/ that really belongs into contrib/
> is not cutting it, either.
>
> And I am pretty astonished that mingw.[ch] is touched, as VC is definitely
> not MinGW32.
>
> Changing 1000+ lines of libgit.vcproj in almost every commit is also
> something I really do not look upon favorably.
>
> Finally, if _no single_ commit message says _anything_ about the reasons
> why you had to change code outside of vcbuild/, I am only puzzled.
>
> Now, I want to give you a pretty clear idea what has to be done if this is
> going into 4msysgit.git, ever, because you obviously spent a lot of time
> on it, and other people want it, too:
>
> - changing "open" to "_open" in mingw.c is a no-no-no. If you need to use
> "_open" in VC, then define "open" in the compile flags for mingw.c, but
> leave code that is not written for VC alone.
>
> - introducing trailing whitespace is usually a sign of not caring enough
> about clean and neat code. So just don't do it.
>
> - making link() fail on MinGW32 just to be able to compile it with VC is
> outright rude against all people who use a free and open compiler
> instead of a closed one.
>
> - changing an "_snprintf" to "_vsnprintf" in vcbuild/porting.c without
> anything else is a clear and loud sign that the code before was broken,
> and that you fix a faulty patch in a later patch. This is not how we do
> things in git.git. We fix the proper patch before the patch series is
> accepted into mainline.
>
> - violating the coding style -- even if it is in your VC-specific part --
> is not an option. You need to fix the coding style.
>
> - violating the coding style in files that are not VC-specific is not an
> option at all. You really need to fix it.
>
> - changing the default editor from "vi" to "notepad2" will break almost
> every existing Git user's setup. That is just inexcusable.
>
> Note: these comments are _just for the last_ of your 5 patches.
>
> Just a brief comment on the 4th patch, because I really do not want to
> spend more time on this round of patches: spelling the opendir() function
> as "open dir" function in the commit message is misleading, to say the
> least, and moving code that was added in a previous patch in the same
> patch series just shows that it was a mistake to begin with. Besides,
> don't move anything into mingw.c if MinGW32 does not need it.
>
> Hth,
> Dscho
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [msysGit] Re: Using VC build git
2009-08-11 1:26 ` Frank Li
@ 2009-08-12 7:13 ` Marius Storm-Olsen
0 siblings, 0 replies; 5+ messages in thread
From: Marius Storm-Olsen @ 2009-08-12 7:13 UTC (permalink / raw)
To: Frank Li; +Cc: Johannes Schindelin, git, msysGit
[-- Attachment #1: Type: text/plain, Size: 2288 bytes --]
[Please do *not* do top-posting! Both git and msysgit mailing lists
use bottom-posting]
Frank Li said the following on 11.08.2009 03:26:
> Thank you take care my patch.
> I can fix all problems.
Good! Many people want to see git build with MSVC, if only to use a
compiler better at optimizing code on Windows. (And the debugger, of
course)
> This patch is base on v1.6.4 release. My working branch is vc_build
> at git://repo.or.cz/tgit.git.
Ok. Dscho wondered why it wasn't a proper fork of the main git.git
repo, so it *should* really have been
git://repo.or.cz/git/tgit.git
^^^^ <-- Notice the fork relationship?
It would save some valuable space on the server, show relations, make
it easier to find, etc.
> That is actually prototype to approve VC can build git.
> The code style is not big problem. I will fix it.
You will experience that for the git community coding style is very
important (for good reason), so expect many rounds of rewriting your
patches, until they all shine like diamonds.
> VC build will reuse many msysgit works because msysgit really do many
> work at windows porting.
Sure, but I think it rarely will involve your patches changing the
code in MinGW at all. Try your outmost to keep your patches separated
from anything else. If in doubt, please ask us on the msysgit mailing
list, and we will guide you.
> I think the below is most important problem.
>
> 1. Where are vcbuild directory put, is it okay under contrib ?
> 2. How to handle external library, such as zlib? Can use submodule?
For point 2: If we cannot compile we don't accept it, is the basic
rule. This means that if you think the people building git with MSVC
cannot install some dependencies themselves, you need to provide the
full sources yourself, and make sure that the code compiles without
changes. So, in this case if would mean to include the sources for
zlib, and setup the vcproj to compile this code into the executable,
instead of linking with a precompiled lib.
In this case, however, I think you should rely on the developer
providing this library themselves, and not add it to the git project.
The zlib project is ~750KB of code itself..
--
.marius
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-12 7:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 13:56 Using VC build git Frank Li
2009-08-10 14:07 ` [msysGit] " Johannes Schindelin
2009-08-10 14:29 ` Johannes Schindelin
2009-08-11 1:26 ` Frank Li
2009-08-12 7:13 ` [msysGit] " Marius Storm-Olsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).