- 13 May, 2012 2 commits
- 12 May, 2012 1 commit
-
-
On Solaris, struct dirent is defined differently than Linux. The field containing the path name is of size 0, rather than NAME_MAX. So, we need to use a properly sized buffer on Solaris to avoid a stack overflow. Also fix some DIR* leaks on cleanup.
Scott J. Goldman committed
-
- 11 May, 2012 3 commits
-
-
object: make git_object_lookup() return GIT_ENOTFOUND when searching for an existing object by specifying an incorrect type This fix complements cb0ce16b and cover the following additional use cases - retrieving an object which has been previously searched, found and cached - retrieving an object through an non ambiguous abbreviated id
nulltoken committed -
Russell Belfer committed
-
On Solaris, rmdir() throws EEXIST if the folder is not empty, so just add one more case to check for that, alongside ENOTEMPTY.
Scott J. Goldman committed
-
- 10 May, 2012 2 commits
-
-
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 -
Since Solaris does not support some of the same flags as glibc fnmatch(), we just use the implementation we have for Windows. Now that it's no longer a windows-specific thing, I moved it into compat/ instead of win32/
Scott J. Goldman committed
-
- 09 May, 2012 7 commits
-
-
This adds a bunch of template files to the initialization for hooks, info/exclude, and description. This makes our initialized repo look more like core gits.
Russell Belfer committed -
Russell Belfer 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 15 commits
-
-
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
-
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 -
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 -
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 9 commits
-
-
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 -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
diff: When diffing two blobs, ensure the delta callback parameter is filled with relevant information
nulltoken committed -
nulltoken committed
-
'git commit' and 'git tag -a' enforce some conventions, like cleaning up excess whitespace and making sure that the last line ends with a '\n'. This fix replicates this behavior. Fix libgit2/libgit2sharp#117
nulltoken committed -
Previously, it was defined in netops.c, but it's also needed in one of the clar tests, so I figured we might as well just make it global for the whole project. Without it, the mingw32 linker won't resolve GetProcessId() (called from the core/errors.c clar test) because of some conditionals in windows.h.
Scott J. Goldman committed
-
- 06 May, 2012 1 commit
-
-
Carlos Martín Nieto committed
-