| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/
|/|
| |
| | |
NULL iterator
|
|\ \
| | |
| | | |
Improve repo initialization to be more like git
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
| |
existing object by specifying an incorrect type
This fix complements cb0ce16bbe8efe2098ef9cfffcf158301b036565 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
|
| |
|
|\
| |
| | |
util: Fix git__isspace() implementation
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Skip them for now. Eventually we might want to filter these out
earler.
|
|/
|
|
| |
Windows gets upset if we rename a file with an open descriptor.
|
|
|
|
| |
Locale-aware bullshit bitting my ass again yo
|
|\
| |
| | |
Add support for diffing index with no HEAD
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Clean commit and tag messages
|
| |
| |
| |
| |
| |
| | |
'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
|
|\ \
| | |
| | | |
Enhancing the blob diffing experience
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
with relevant information
|
| |/ |
|
|\ \
| | |
| | | |
Add git_remote_add() and change signature for _new()
|
| | |
| | |
| | |
| | |
| | | |
Add a fetch refspec arguemnt and make the arguments (name, url,
refspec), as that order makes more sense.
|
| | |
| | |
| | |
| | | |
Helper function to create a remote with the default settings
|
| | |
| | |
| | |
| | |
| | | |
Change the order and set a NULL so we don't try to access freed memory
in case of an error.
|
|/ / |
|
|\ \
| | |
| | | |
Improve the interop with bindings
|
| | | |
|
| | |
| | |
| | |
| | | |
to find a repository given the constraints
|
| | |
| | |
| | |
| | | |
and fail if the provided path does not lead to an existing entry
|
| | | |
|
| | |
| | |
| | |
| | | |
existing object by specifying an incorrect type
|
| | |
| | |
| | |
| | | |
cannot be retrieved from the config file
|
| | |
| | |
| | |
| | | |
loading
|
|/ /
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
More mingw32 compilation fixes.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
This has the nice side effect of making test_attr_repo__staging_properly_normalizes_line_endings_according_to_gitattributes_directives() test pass again on Windows. This test started to fail after commit 674a198 was applied.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/netops.c
src/netops.h
src/transports/http.c
tests-clar/clar
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
gitno_connect() can return an error or socket, which is fine on most
platforms where sockets are file descriptors (signed int), but on Windows,
SOCKET is an unsigned type, which is problematic when we are trying to
test if the socket was actually a negative error code.
This fix seperates the error code and socket in gitno_connect(), and fixes
the error handling in do_connect() functions to compensate. It appears
that git_connect() and the git-transport do_connect() functions had bugs
in the non-windows cases too (leaking sockets, and not properly reporting
connection error, respectively) so I went ahead and fixed those too.
|
|\ \
| | |
| | | |
Support git attrs from index (and bare repo)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are three changes here:
- correctly propogate error code from failed object lookups
- make zlib inflate use our allocators
- add OID to notfound error in ODB lookups
|
| | | |
|