- 10 May, 2012 3 commits
-
-
Russell Belfer committed
-
This makes the git attributes and git ignores cache check stat information before using the file contents from the cache. For cached files from the index, it checks the SHA of the file instead. This should reduce the need to ever call `git_attr_cache_flush()` in most situations. This commit also fixes the `git_status_should_ignore` API to use the libgit2 standard parameter ordering.
Russell Belfer committed -
Use giterr_last() and make sure it's not NULL.
Carlos Martín Nieto committed
-
- 09 May, 2012 11 commits
-
-
Vicent Martí committed
-
Fix MSVC compilation issue
Vicent Martí committed -
exp() is already defined in math.h. This leads to LMSVC complaining ..\..\libgit2\tests-clar\diff\blob.c(5): error C2365: 'exp' : redefinition; previous definition was 'function' Renaming the variable fixes this issue.
nulltoken committed -
Russell Belfer committed
-
util: Fix git__isspace() implementation
Russell Belfer committed -
Michael Schubert committed
-
These objects aren't considered as being advertised, so asking for them will cause the remote end to close the connection. This makes the checking in update_tips() unnecessary, because they don't get inserted in the list.
Carlos Martín Nieto committed -
Skip them for now. Eventually we might want to filter these out earler.
Carlos Martín Nieto committed -
The characters <space>, <form-feed>, <newline>, <carriage-return>, <tab>, and <vertical-tab> are part of the "space" definition. cf. http://www.kernel.org/doc/man-pages/online/pages/man5/locale.5.html
nulltoken committed -
Windows gets upset if we rename a file with an open descriptor.
Carlos Martín Nieto committed -
Locale-aware bullshit bitting my ass again yo
Vicent Martí committed
-
- 08 May, 2012 22 commits
-
-
Add support for diffing index with no HEAD
Vicent Martí committed -
When a repo is first created, there is no HEAD yet and attempting to diff files in the index was showing nothing because a tree iterator could not be constructed. This adds an "empty" iterator and falls back on that when the head cannot be looked up.
Russell Belfer committed -
Vicent Martí committed
-
Vicent Martí committed
-
Clean commit and tag messages
Vicent Martí committed -
Enhancing the blob diffing experience
Russell Belfer committed -
Add git_remote_add() and change signature for _new()
Vicent Martí committed -
Russell Belfer committed
-
Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense.
Carlos Martín Nieto committed -
Helper function to create a remote with the default settings
Carlos Martín Nieto committed -
Change the order and set a NULL so we don't try to access freed memory in case of an error.
Carlos Martín Nieto committed -
Improve the interop with bindings
Russell Belfer committed -
Clear the error in pkt when we notice that the remote is starting to send the packfile. Fix the format string for Windows networking errors.
Carlos Martín Nieto committed -
nulltoken committed
-
repository: ensure git_repository_discover() returns ENOTFOUND when unable to find a repository given the constraints
nulltoken committed -
nulltoken committed
-
repository: ensure git_repository_open() returns ENOTFOUND when being passed a path leading to no repository
nulltoken committed -
compat: make p_realpath Windows implementation be a bit more POSIX compliant and fail if the provided path does not lead to an existing entry
nulltoken committed -
nulltoken committed
-
object: make git_object_lookup() return GIT_ENOTFOUND when searching for an existing object by specifying an incorrect type
nulltoken committed -
remote: make git_remote_load() return GIT_ENOTFOUND when the remote url cannot be retrieved from the config file
nulltoken committed -
nulltoken committed
-
- 07 May, 2012 4 commits
-
-
More mingw32 compilation fixes.
Vicent Martí committed -
The fix to support attrs on bare repos went a little too far in trying to avoid using the working directory and ended up not processing the input path quite correctly.
Russell Belfer committed -
compat: make p_open able to accept optional mode when passing the O_CREAT flag
Russell Belfer committed -
Carlos Martín Nieto committed
-