- 20 Nov, 2012 1 commit
-
-
Opening a repo is generating an error if you don't have a .gitconfig file in your home directory, but that should be legal.
Russell Belfer committed
-
- 19 Nov, 2012 7 commits
-
-
VS-Build: Append C_FLAGS to the end of the already given ones.
Russell Belfer committed -
My other PR revealed, that the /W4 parameter, we give to MSVC is ignored because cmake set CMAKE_C_FLAGS already to /W3 and we overwrite it. The command line tools gave me a D9025 warning for this on every file and looking into the project properties page on MSVC 2008 tells, that it has the warning level set to /W3. However, the warnings introduced by /W4 are far to useless for having them enabled. So just disable them.
Sascha Cunz committed -
Don't use precompiled headers for command-line based VC builds.
Russell Belfer committed -
The reason, why libgit2 currently cannot support compiling via the command-line tools cl/nmake from WinSDK and/or Microsoft Visual Studio, seems to be a missing dependency on the generated precompiled header file. The Visual Studio IDE automatically inserts this dependency when it sees the right combination of "/Y" parameters. This patch allows to compile using command line tools by disabling precompiled headers for NON-IDE builds.
Sascha Cunz committed -
Filename validation
Vicent Martí committed -
Scott J. Goldman committed
-
This prevents the index api from calling write_tree() with a bogus tree.
Scott J. Goldman committed
-
- 18 Nov, 2012 8 commits
-
-
As per core git.
Scott J. Goldman committed -
Indexer: Avoid a possible double-deletion in error case
Vicent Martí committed -
Sascha Cunz committed
-
Michael Schubert committed
-
Itsy bitsy tiny winy minor api related fixes
nulltoken committed -
Passing 0 as the index now retrieves the most recent entry instead of the oldest one.
nulltoken committed -
nulltoken committed
-
nulltoken committed
-
- 17 Nov, 2012 7 commits
- 16 Nov, 2012 6 commits
-
-
odb: recursively load alternates
Vicent Martí committed -
The maximum depth is 5, like in git
Carlos Martín Nieto committed -
Win32 fixes for diff/checkout/reset
Scott J. Goldman committed -
Michael Schubert committed
-
Michael Schubert committed
-
Ben Straub committed
-
- 15 Nov, 2012 9 commits
-
-
Add option to ignore file mode in diffs
Vicent Martí committed -
Diff API signatures
Vicent Martí committed -
Eduardo Bart committed
-
A number of diff APIs and the `git_checkout_index` API take a `git_repository` object an operate on the index. This updates them to take a `git_index` pointer explicitly and only fall back on the `git_repository` index if the index input is NULL. This makes it easier to operate on a temporary index.
Russell Belfer committed -
The index iterator could previously only be created from a repo object, but this allows creating an iterator from a `git_index` object instead (while keeping, though renaming, the old function).
Russell Belfer committed -
The diff API is not in the parameter order one would expect from other libgit2 APIs. This fixes that.
Russell Belfer committed -
The reset hard tests had hardcoded expected file content and was not correctly compensating for CRLF filtering when a file needed to be reverted by the reset hard. This fixes that.
Russell Belfer committed -
The existing p_lstat implementation on win32 is not quite POSIX compliant when setting errno to ENOTDIR. This adds an option to make is be compliant so that code (such as checkout) that cares to have separate behavior for ENOTDIR can use it portably. This also contains a couple of other minor cleanups in the posix_w32.c implementations to avoid unnecessary work.
Russell Belfer committed -
Using the builtin strcmp and strcasecmp as function pointers is problematic on win32. This adds internal implementations and divorces us from the platform linkage.
Russell Belfer committed
-
- 14 Nov, 2012 2 commits
-
-
Explain a few CMake options in the README
Vicent Martí committed -
Expose STDCALL and explain a few useful CMake options, as well as explain the quirks building on Windows.
Carlos Martín Nieto committed
-