Log

Author Commit Date CI Message
Ben Straub bac695b5 2012-11-18T22:20:26 Examples: fix reference names
Vicent Marti cfbe4be3 2012-11-17T19:54:47 More external API cleanup Conflicts: src/branch.c tests-clar/refs/branches/create.c
Ben Straub 2508cc66 2012-11-18T21:38:08 Rename ref and reflog apis for consistency
Vicent Martí 46982781 2012-11-26T05:42:49 Merge pull request #1106 from frasertweedale/fix/freebsd-build fix build on FreeBSD
Fraser Tweedale 9e9aee67 2012-11-26T23:29:34 fix build on FreeBSD 3f9eb1e introduced support for SSL certificates issued for IP addresses, making use of in_addr and in_addr6 structs. On FreeBSD these are defined in (a file included in) <netinet/in.h>, so include that file on FreeBSD and get the build working again.
Vicent Martí 8404f2d6 2012-11-26T03:56:25 Merge pull request #1101 from csware/prevent_die pack.c: Set p->mwf.fd to -1 on error
Vicent Martí 95cd8353 2012-11-26T03:53:53 Merge pull request #1105 from delanne/invalid_read_config_file Fix invalid read reported by valgrind
delanne f2696fa4 2012-11-26T12:12:41 Fix invalid read reported by valgrind
Sven Strickroth fcb48e06 2012-11-24T15:48:17 Set p->mwf.fd to -1 on error If p->mwf.fd is e.g. -2 then it is closed in packfile_free and an exception might be thrown. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Vicent Martí c4d8df27 2012-11-23T15:19:47 Merge pull request #1097 from nulltoken/topic/head_tree_error Make `git_repository_head_tree()` return error codes
Vicent Martí 28de452a 2012-11-23T15:18:30 Merge pull request #1093 from libgit2/contributing Create contributing guidelines
Vicent Martí c9f1658e 2012-11-23T15:17:48 Merge pull request #1098 from scunz/cleanup_in_cleanup Reset all static variables to NULL in clar's __cleanup
Edward Thomson e226861e 2012-11-23T11:33:32 Merge pull request #1100 from martinwoodward/fuckityfuck Remove use of English expletives
Martin Woodward 826bc4a8 2012-11-23T13:31:22 Remove use of English expletives Remove words such as fuck, crap, shit etc. Remove other potentially offensive words from comments. Tidy up other geopolicital terms in comments.
Sascha Cunz 9094d30b 2012-11-23T11:41:56 Reset all static variables to NULL in clar's __cleanup Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096
nulltoken 5cec896a 2012-11-22T18:51:06 repo: Make git_repository_head_tree() return error codes
nulltoken a94002a9 2012-11-22T18:50:50 test: Minor fixes
Philip Kelley 5cf1b4f0 2012-11-22T11:16:35 Call git_remote_update_tips before git_remote_disconnect
Philip Kelley 5d4cdb04 2012-11-22T08:10:35 Merge pull request #1095 from martinwoodward/authors Update to Authors
Ben Straub 24aec6db 2012-11-21T13:42:12 Rewrite conventions to be more complete
Ben Straub ee72ffd0 2012-11-20T21:04:52 Markdownize CONVENTIONS
Ben Straub 41b00ccc 2012-11-20T20:59:58 Add contributing guidelines
Russell Belfer 54be4d57 2012-11-20T15:02:06 Merge pull request #1092 from arrbee/legal-to-not-have-gitconfig It is okay to not have a .gitconfig file
Russell Belfer 38f7d026 2012-11-20T14:50:36 Need to clear ignored error from config load
Russell Belfer f0ebf82e 2012-11-20T11:34:12 Merge pull request #1089 from edubart/fix_win32_lstat Fix win32 lstat
Russell Belfer cc6b4162 2012-11-20T10:24:18 It is okay to not have a .gitconfig file Opening a repo is generating an error if you don't have a .gitconfig file in your home directory, but that should be legal.
Eduardo Bart cf0dadcf 2012-11-20T01:19:31 Minor optimization in win32 do_lstat
Eduardo Bart e566b609 2012-11-20T00:57:56 Update clar tests p_lstat_posixly and p_lstat
Eduardo Bart 2d96fce2 2012-11-19T23:12:20 update win32 lstat comment
Eduardo Bart 52ead787 2012-11-19T22:30:20 Fix win32 lstat
Russell Belfer a9069f61 2012-11-19T12:11:01 Merge pull request #1086 from scunz/vs_warning_level VS-Build: Append C_FLAGS to the end of the already given ones.
Sascha Cunz 4a03913c 2012-11-19T04:48:40 VS-Build: Disable /W4 parameter, as it is not picked up anyway My other PR revealed, that the /W4 parameter, we give to MSVC is ignored because cmake set CMAKE_C_FLAGS already to /W3 and we overwrite it. The command line tools gave me a D9025 warning for this on every file and looking into the project properties page on MSVC 2008 tells, that it has the warning level set to /W3. However, the warnings introduced by /W4 are far to useless for having them enabled. So just disable them.
Russell Belfer 7a1282f6 2012-11-19T11:53:04 Merge pull request #1085 from scunz/no_pch_for_nmake Don't use precompiled headers for command-line based VC builds.
Sascha Cunz 26d9e317 2012-11-19T04:40:58 Don't use precompiled headers for command-line based VC builds. The reason, why libgit2 currently cannot support compiling via the command-line tools cl/nmake from WinSDK and/or Microsoft Visual Studio, seems to be a missing dependency on the generated precompiled header file. The Visual Studio IDE automatically inserts this dependency when it sees the right combination of "/Y" parameters. This patch allows to compile using command line tools by disabling precompiled headers for NON-IDE builds.
Vicent Martí 560cc1e1 2012-11-18T17:19:20 Merge pull request #1084 from libgit2/filename-validation Filename validation
Scott J. Goldman 1876360f 2012-11-18T16:59:42 Add a test for invalid filenames while writing tree from index
Scott J. Goldman 0d778b1a 2012-11-18T16:52:04 Catch invalid filenames in append_entry() This prevents the index api from calling write_tree() with a bogus tree.
Scott J. Goldman 19af78bb 2012-11-18T15:15:24 Prevent creating `..`, `.`, and `.git` with tree builder As per core git.
Vicent Martí 629c0829 2012-11-18T14:15:04 Merge pull request #1082 from scunz/fixDoubleDeleteOnError Indexer: Avoid a possible double-deletion in error case
Sascha Cunz 4cc7342e 2012-11-18T09:07:35 Indexer: Avoid a possible double-deletion in error case
Michael Schubert 0066955d 2012-11-18T04:27:49 Fix a couple of warnings
nulltoken 0e9ea5d0 2012-11-17T18:42:40 Merge pull request #1077 from nulltoken/fix/api Itsy bitsy tiny winy minor api related fixes
nulltoken b15df1d9 2012-11-17T18:29:51 reflog: make entry_byindex() and drop() git compliant Passing 0 as the index now retrieves the most recent entry instead of the oldest one.
nulltoken 1a764476 2012-11-17T18:24:10 reflog: Fix documentation
nulltoken 270160b9 2012-11-17T13:39:24 config: Opening a nonexistent file returns ENOTFOUND
nulltoken d36451c9 2012-11-17T12:34:15 config: Make git_config_file__ondisk() internal
nulltoken 6091457e 2012-11-17T07:19:14 repo: ensure is_empty() checks there are no refs
nulltoken f5a0e734 2012-11-17T06:46:42 tests: introduce cl_git_remove_placeholders()
nulltoken 5df7207a 2012-11-17T06:56:19 repo: readonly tests don't need a sandboxed repo
nulltoken 0e95e70a 2012-11-17T05:22:39 env: ensure git_futils_find_xxx() returns ENOTFOUND
nulltoken aa8a76ef 2012-11-17T05:12:14 tag: rename git_tag_type to git_tag_target_type
nulltoken 86b9dbc1 2012-11-17T04:50:48 Fix MSVC compilation warnings
Vicent Martí e087973e 2012-11-16T10:27:46 Merge pull request #1075 from carlosmn/alternates-recurse odb: recursively load alternates
Carlos Martín Nieto 85e7efa1 2012-11-14T13:35:43 odb: recursively load alternates The maximum depth is 5, like in git
Scott J. Goldman 0cd063fd 2012-11-15T23:28:52 Merge pull request #1071 from arrbee/alternate-fix-strcmp Win32 fixes for diff/checkout/reset
Michael Schubert 96acc0b6 2012-11-16T02:30:00 AUTHORS: cleanup
Michael Schubert 0ec11828 2012-11-16T02:17:57 Fix -Wmaybe-uninitialized warning
Ben Straub 414bd936 2012-11-15T16:20:02 Include Microsoft in AUTHORS
Vicent Martí 4a0c7f56 2012-11-15T10:31:11 Merge pull request #1074 from edubart/ignore_diff_filemode Add option to ignore file mode in diffs
Vicent Martí 63f7c6f4 2012-11-15T10:18:25 Merge pull request #1072 from arrbee/diff-api-signatures Diff API signatures
Eduardo Bart c0d5acf6 2012-11-15T14:43:21 Add option to ignore file mode in diffs
Russell Belfer bbe6dbec 2012-11-14T23:29:48 Add explicit git_index ptr to diff and checkout A number of diff APIs and the `git_checkout_index` API take a `git_repository` object an operate on the index. This updates them to take a `git_index` pointer explicitly and only fall back on the `git_repository` index if the index input is NULL. This makes it easier to operate on a temporary index.
Russell Belfer bad68c0a 2012-11-13T14:02:59 Add iterator for git_index object The index iterator could previously only be created from a repo object, but this allows creating an iterator from a `git_index` object instead (while keeping, though renaming, the old function).
Russell Belfer 5735bf5e 2012-11-13T13:58:29 Fix diff API to better parameter order The diff API is not in the parameter order one would expect from other libgit2 APIs. This fixes that.
Russell Belfer 402b92cf 2012-11-14T22:44:17 Fix reset hard tests on platforms with CRLF The reset hard tests had hardcoded expected file content and was not correctly compensating for CRLF filtering when a file needed to be reverted by the reset hard. This fixes that.
Russell Belfer cccacac5 2012-11-14T22:41:51 Add POSIX compat lstat() variant for win32 The existing p_lstat implementation on win32 is not quite POSIX compliant when setting errno to ENOTDIR. This adds an option to make is be compliant so that code (such as checkout) that cares to have separate behavior for ENOTDIR can use it portably. This also contains a couple of other minor cleanups in the posix_w32.c implementations to avoid unnecessary work.
Russell Belfer a277345e 2012-11-14T22:37:13 Create internal strcmp variants for function ptrs Using the builtin strcmp and strcasecmp as function pointers is problematic on win32. This adds internal implementations and divorces us from the platform linkage.
Vicent Martí 5a36f127 2012-11-13T21:14:52 Merge pull request #1069 from carlosmn/readme Explain a few CMake options in the README
Carlos Martín Nieto 66bf4dbc 2012-11-13T16:57:37 Explain a few CMake options in the README Expose STDCALL and explain a few useful CMake options, as well as explain the quirks building on Windows.
Carlos Martín Nieto 7e9f5e65 2012-11-13T20:06:15 Slightly different valgrind fix Allocate with calloc rather than conditionally memsetting a specific part of the struct later on.
Carlos Martín Nieto 6132a54e 2012-11-13T16:13:10 Fix a few valgrind errors
Vicent Martí 513e794e 2012-11-13T14:59:18 Merge pull request #1068 from carlosmn/config-empty-value Deal with empty and nonexsitent values in config
Carlos Martín Nieto 0da81d2b 2012-11-13T14:43:23 config: return an emtpy string when there is no value Returning NULL for the string when we haven't signaled an error condition is counter-intuitive and causes unnecessary edge cases. Return an empty string when asking for a string value for a configuration variable such as '[section] var' to avoid these edge cases. If the distinction between no value and an empty value is needed, this can be retrieved from the entry directly. As a side-effect, this change stops the int parsing functions from segfaulting on such a variable.
Vicent Marti f6c18dda 2012-11-13T14:17:41 http: Unrustle
Vicent Martí aa1c3b58 2012-11-13T14:13:47 Merge pull request #1016 from arrbee/fix-checkout-dir-removal Update checkout with new strategies & behavior
Vicent Marti 26227474 2012-11-13T14:05:43 makefile: Fix the builtin Makefile
Carlos Martín Nieto 47db054d 2012-11-13T13:41:01 config: distinguish between a lone variable name and one without rhs '[section] variable' and '[section] variable =' behave differently when parsed as booleans, so we need to store that distinction internally.
Carlos Martín Nieto 3ee078c0 2012-11-13T13:46:17 config: rename get_config_entry -> config_entry We're already in the git_config namespace, there is no need to repeat it.
Vicent Martí 3741a37f 2012-11-13T13:28:08 Merge pull request #1055 from ethomson/sha1_win32 Win32 CryptoAPI and CNG support for SHA1
Vicent Martí 70572ff8 2012-11-13T13:26:04 Merge pull request #1064 from libgit2/http-parser-2 Bump the builtin http-parser to v2.0
Edward Thomson 2a612fe3 2012-11-13T14:57:35 filebuf now has a git_hash_ctx instead of a ctx*
Edward Thomson a8527429 2012-11-13T14:48:10 unload dll / destroy hash ctxs at shutdown
Edward Thomson 7ebefd22 2012-11-13T10:10:40 move hash library func ptrs to global global
Edward Thomson 603bee07 2012-11-12T19:22:49 Remove git_hash_ctx_new - callers now _ctx_init()
Edward Thomson d6fb0924 2012-11-05T12:37:15 Win32 CryptoAPI and CNG support for SHA1
Ben Straub e45423dd 2012-11-13T05:45:08 Merge pull request #1065 from nulltoken/fix/memory-leak Fix memory leaks
Michael Schubert d51e54f1 2012-11-13T14:28:44 Remove unused variables
nulltoken 4e547eee 2012-11-13T07:11:24 test: fix memory leak
nulltoken 3dee3655 2012-11-13T07:04:30 local: fix memory leak
Vicent Marti 64ac9548 2012-11-12T15:42:03 Bump the builtin http-parser
Vicent Marti 9a50026b 2012-11-12T15:38:28 clar-helpers: Oops, grab pointer
Vicent Marti 19c044a1 2012-11-12T14:23:17 Merge remote-tracking branch 'ben/local-transport' into development
Vicent Martí 3b44ced0 2012-11-12T14:12:41 Merge pull request #1061 from nulltoken/topic/explicit-head-errors repository: Refine repository_head() error report
Ben Straub 14157652 2012-11-12T07:57:03 Remove unnecessary progress logic The indexer handles this better than the fetch logic does.
Ben Straub 0f5520f7 2012-11-12T07:55:09 Fix error check
nulltoken b1a3a70e 2012-11-12T00:14:51 repository: Refine repository_head() error report
nulltoken ef887151 2012-11-11T23:52:37 Fix compilation warning
Edward Thomson e090a568 2012-11-11T10:01:11 Merge pull request #1010 from ethomson/fetch_head create FETCH_HEAD specially instead of as a ref file
Edward Thomson b0f6e45d 2012-11-01T15:47:18 create FETCH_HEAD specially instead of as a ref file
Vicent Martí d18713fb 2012-11-10T20:24:53 Merge pull request #1056 from nulltoken/duplicate-tree-entries Duplicate tree entries