Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Force the Unicode version of GetEnvVargetenv-win32 | Paul Betts | 2011-09-21 | 1 | -1/+1 |
| | |||||
* | Rewrite getenv to use Win32 version on Windows | Paul Betts | 2011-09-21 | 4 | -4/+42 |
| | |||||
* | Fix opendir/readdir and friends on Win32 to use Unicodeutf8-paths-win32 | Paul Betts | 2011-09-19 | 2 | -6/+15 |
| | |||||
* | Rewrite p_* functions to use Unicode and marshal to UTF8 internally | Paul Betts | 2011-09-19 | 7 | -57/+278 |
| | |||||
* | Create cross-platform setenv | Paul Betts | 2011-09-19 | 3 | -0/+10 |
| | |||||
* | Merge pull request #384 from kiryl/warnings | Vicent Martí | 2011-09-18 | 13 | -41/+40 |
|\ | | | | | Add more -W flags to CFLAGS | ||||
| * | CMakefile: add -Wmissing-prototypes and fix warnings | Kirill A. Shutemov | 2011-08-30 | 11 | -33/+29 |
| | | | | | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
| * | CMakefile: add -Wstrict-prototypes and fix warnings | Kirill A. Shutemov | 2011-08-30 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
| * | CMakefile: add -Wstrict-aliasing=2 and fix warnings | Kirill A. Shutemov | 2011-08-30 | 2 | -7/+10 |
| | | | | | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
* | | Merge pull request #397 from lambourg/development | Vicent Martí | 2011-09-18 | 1 | -0/+2 |
|\ \ | | | | | | | Fix compilation issues with mingw64 headers | ||||
| * | | Fix compilation issues with ming64 headers | Jerome Lambourg | 2011-09-12 | 1 | -0/+2 |
| | | | |||||
* | | | Merge pull request #394 from carlosmn/tree-fromindex | Vicent Martí | 2011-09-18 | 1 | -70/+83 |
|\ \ \ | | | | | | | | | Use git_treebuilder to write the index as a tree | ||||
| * | | | tree: use git_treebuilder to write the index as a tree | Carlos Martín Nieto | 2011-09-10 | 1 | -70/+83 |
| |/ / | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #398 from carlosmn/config-autohome | Vicent Martí | 2011-09-18 | 1 | -5/+3 |
|\ \ \ | | | | | | | | | git_repository_config: open global config file automatically | ||||
| * | | | git_repository_config: open global config file automatically | Carlos Martín Nieto | 2011-09-12 | 1 | -5/+3 |
| |/ / | | | | | | | | | | | | | | | | If the global configuration file is missing, it is ignored. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> | ||||
* | | | Merge pull request #408 from schu/fixup-status | Vicent Martí | 2011-09-18 | 1 | -3/+4 |
|\ \ \ | | | | | | | | | Fixup status.c | ||||
| * | | | status.c: add missing check for error | schu | 2011-09-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | dirent_cb() didn't check the return value of determine_status(). Signed-off-by: schu <schu-github@schulog.org> | ||||
| * | | | status.c: remove wrong address operator | schu | 2011-09-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Signed-off-by: schu <schu-github@schulog.org> | ||||
* | | | | Merge pull request #393 from schu/unused-but-set-variable | Vicent Martí | 2011-09-18 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | filebuf.c: fix unused-but-set warning | ||||
| * | | | | filebuf.c: fix unused-but-set warning | schu | 2011-09-09 | 1 | -1/+2 |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | | | Merge pull request #392 from sschuberth/development | Vicent Martí | 2011-09-18 | 1 | -4/+2 |
|\ \ \ \ | | | | | | | | | | | Fix a bug and GCC warning introduced in 932669b | ||||
| * | | | | Fix a bug and GCC warning introduced in 932669b | Sebastian Schuberth | 2011-09-12 | 1 | -4/+2 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Merge pull request #399 from carlosmn/free-null | Vicent Martí | 2011-09-18 | 2 | -0/+6 |
|\ \ \ \ | | | | | | | | | | | Add checks for NULL to the config and remote free functions | ||||
| * | | | | Add checks for NULL to the config and remote free functions | Carlos Martín Nieto | 2011-09-13 | 2 | -0/+6 |
| |/ / / | | | | | | | | | | | | | Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> | ||||
* | | | | Tabify everything | Vicent Marti | 2011-09-19 | 49 | -627/+627 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Cleanup legal data | Vicent Marti | 2011-09-19 | 99 | -940/+438 |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | status: enhance determination of statuses for a whole directory | nulltoken | 2011-09-15 | 1 | -193/+477 |
| | | | | | | | | | | | | | | | - Should increase performance through usage of a walker - No callback invocation for unaltered entries | ||||
* | | | status: enhance determination of status for a single file | nulltoken | 2011-09-15 | 1 | -82/+121 |
| | | | | | | | | | | | | | | | | | | - fix retrieval of a file status when working against a newly initialized repository - reduce memory pressure - prevents a directory from being tested | ||||
* | | | repository: Add git_repository_head() | nulltoken | 2011-09-15 | 1 | -5/+17 |
|/ / | |||||
* | | Fix an integral overflow on 64-bit | Sebastian Schuberth | 2011-09-08 | 1 | -1/+1 |
| | | |||||
* | | Add casts to get rid of some warnings when filling zlib structures | Sebastian Schuberth | 2011-09-08 | 3 | -10/+10 |
| | | |||||
* | | Get rid of a superfluous pointer cast | Sebastian Schuberth | 2011-09-08 | 1 | -1/+1 |
| | | |||||
* | | Fix minor indentation issues (spaces to tabs) | Sebastian Schuberth | 2011-09-08 | 2 | -6/+6 |
| | | |||||
* | | Fix some random size_t vs. int conversion warnings | Sebastian Schuberth | 2011-09-08 | 5 | -12/+16 |
| | | |||||
* | | Merge pull request #388 from lambourg/master | Vicent Martí | 2011-09-02 | 1 | -0/+10 |
|\ \ | | | | | | | pull request for #387 | ||||
| * | | Fix for issue #387 | Jerome Lambourg | 2011-09-02 | 1 | -0/+10 |
| | | | |||||
* | | | Fix compilation in MinGW | Vicent Marti | 2011-08-31 | 2 | -8/+5 |
| |/ |/| | |||||
* | | posix: Fix undeclared prototype | Vicent Marti | 2011-08-30 | 2 | -7/+11 |
| | | |||||
* | | repository: Fix signed/unsigned comp. | Vicent Marti | 2011-08-30 | 1 | -1/+2 |
| | | |||||
* | | netops: This is the proper check | Vicent Marti | 2011-08-30 | 1 | -1/+1 |
| | | |||||
* | | netops: Use the size_t, Luke | Vicent Marti | 2011-08-30 | 2 | -9/+11 |
| | | |||||
* | | Add git_remote_new | Carlos Martín Nieto | 2011-08-30 | 1 | -0/+20 |
| | | | | | | | | | | | | | | 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> | ||||
* | | Don't hide the transport details | Carlos Martín Nieto | 2011-08-30 | 4 | -66/+11 |
| | | | | | | | | | | | | | | 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> | ||||
* | | Fix Windows compilation | Carlos Martín Nieto | 2011-08-30 | 3 | -15/+26 |
| | | | | | | | | | | | | | | | | | | 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> | ||||
* | | compat: Move `mkstemp` to the POSIX compat layer | Vicent Marti | 2011-08-30 | 4 | -11/+22 |
| | | |||||
* | | network: <select.h> is not available in MinGW | Vicent Marti | 2011-08-30 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #378 from kiryl/Wuninitialized | Vicent Martí | 2011-08-30 | 3 | -8/+11 |
|\ \ | | | | | | | Wuninitialized | ||||
| * | | transport_git: add missed error handling | Kirill A. Shutemov | 2011-08-24 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> | ||||
| * | | Fix false positive -Wuninitialized warnings | Kirill A. Shutemov | 2011-08-24 | 2 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | | pkt: use sizeof() instead of strlen() to avoid variable length array | Kirill A. Shutemov | 2011-08-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> |