| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| | |
Add more -W flags to CFLAGS
|
| |
| |
| |
| | |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| |
| |
| |
| | |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| |
| |
| |
| | |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
|\ \
| | |
| | | |
Fix compilation issues with mingw64 headers
|
| | | |
|
|\ \ \
| | | |
| | | | |
Use git_treebuilder to write the index as a tree
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
There is no point in reinventing the wheel when using the treebuilder
is much more straightforward and makes the code more readable. There
is no optimisation, and the performance is no worse than when writing
the tree object ourselves.
|
|\ \ \
| | | |
| | | | |
git_repository_config: open global config file automatically
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
If the global configuration file is missing, it is ignored.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|\ \ \
| | | |
| | | | |
Fixup status.c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
dirent_cb() didn't check the return value of determine_status().
Signed-off-by: schu <schu-github@schulog.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: schu <schu-github@schulog.org>
|
|\ \ \ \
| | | | |
| | | | | |
filebuf.c: fix unused-but-set warning
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
write_deflate() used to ignore errors by zlib's deflate function when
not compiling in DEBUG mode. Always read $result and throw an error
instead.
Signed-off-by: schu <schu-github@schulog.org>
|
|\ \ \ \
| | | | |
| | | | | |
Fix a bug and GCC warning introduced in 932669b
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
For unsigned types, the comparison >= 0 is always true, so avoid it by using
a post-decrement and integrating the initial assigment into the loop body.
No change in behavior is intended.
|
|\ \ \ \
| | | | |
| | | | | |
Add checks for NULL to the config and remote free functions
|
| |/ / /
| | | |
| | | |
| | | | |
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There were quite a few places were spaces were being used instead of
tabs. Try to catch them all. This should hopefully not break anything.
Except for `git blame`. Oh well.
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. The license header is technically not valid if it doesn't have a
copyright signature.
2. The COPYING file has been updated with the different licenses used in
the project.
3. The full GPLv2 header in each file annoys me.
|
| | |
| | |
| | |
| | |
| | | |
- Should increase performance through usage of a walker
- No callback invocation for unaltered entries
|
| | |
| | |
| | |
| | |
| | |
| | | |
- fix retrieval of a file status when working against a newly initialized repository
- reduce memory pressure
- prevents a directory from being tested
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
pull request for #387
|
| | | |
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
As we no longer expose the transport functions, this is now the only
way to connect to a remote when given an URL instead of a remote name
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
| |
| |
| |
| |
| |
| |
| | |
Transports shouldn't get used outside of the library, so don't expose
accessor functions.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sockets on Windows are unsigned, so define a type GIT_SOCKET which is
signed or unsigned depending on the platform.
Thanks to Em for his patience with this.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Wuninitialized
|
| | |
| | |
| | |
| | | |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GCC produces several -Wuninitialized warnings. Most of them can be fixed
if we make visible for gcc that git__throw() and git__rethrow() always
return first argument.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
|/ /
| |
| |
| |
| |
| |
| | |
There is no need in STRLEN macros. Compilers can do this trivial
optimization on its own.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| |
| |
| |
| | |
I don't think MSVC merges these automatically.
|