summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Rev-parse: implement ":/foo" syntax.Ben Straub2012-06-011-5/+47
| | | | | |
| * | | | | Rev-parse: Plug memory leaks.Ben Straub2012-05-311-0/+4
| | | | | |
| * | | | | Rev-parse: add "tag:README" syntax.Ben Straub2012-05-301-0/+60
| | | | | |
| * | | | | Approxidate: use libgit2 naming/calling conventions.Ben Straub2012-05-303-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also use git_time_t (64-bit integer) for time values, although the 2038 problem is still present on 32-bit machines.
| * | | | | Fix date.c build in msvc.Ben Straub2012-05-156-22/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported the win32 implementations of gmtime_r, localtime_r, and gettimeofday to be part of the posix compatibility layer, and fixed git_signature_now to use them.
| * | | | | Rev-parse: better error handling for chaining.Ben Straub2012-05-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed an error where "nonexistant^N" or similar would fall into an assert. This now properly returns an error.
| * | | | | Rev-parse: proper error checking.Ben Straub2012-05-111-22/+24
| | | | | |
| * | | | | Rev-parse: regex check for "git describe" output.Ben Straub2012-05-111-0/+17
| | | | | |
| * | | | | Plugging memory leak.Ben Straub2012-05-111-0/+2
| | | | | |
| * | | | | Rev-parse: now capturing and reporting regex errors.Ben Straub2012-05-111-5/+14
| | | | | |
| * | | | | Rev-parse: now @{-N} syntax searches in the right direction!Ben Straub2012-05-111-13/+19
| | | | | |
| * | | | | Now properly handling branches with "-g" in their names.Ben Straub2012-05-111-3/+3
| | | | | |
| * | | | | Simplifying revparse_lookup_fully_qualified_ref.Ben Straub2012-05-111-16/+4
| | | | | |
| * | | | | Rev-parse: @{time} syntax.Ben Straub2012-05-114-34/+987
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported date.c (for approxidate_careful) from git.git revision aa39b85. Trimmed out the parts we're not using.
| * | | | | Rev-parse: "ref^{/regex}" syntax.Ben Straub2012-05-111-6/+47
| | | | | |
| * | | | | Rev-parse: fixing double-freeing. Thanks, Visual Studio!Ben Straub2012-05-111-1/+1
| | | | | |
| * | | | | Rev-parse: "ref@{upstream}" syntax.Ben Straub2012-05-111-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added tracking configuration to the test repo's config to support unit tests.
| * | | | | Fixed last 2 memory leaks in rev-parse.Ben Straub2012-05-111-13/+13
| | | | | |
| * | | | | Rev-parse: plugging (most) memory leaks.Ben Straub2012-05-111-21/+24
| | | | | |
| * | | | | Incorporating feedback from @tanoku.Ben Straub2012-05-111-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | Removed repeated strlen's, and unnecessary loop-termination variable.
| * | | | | Implementing rev-parse's ref@{n} and @{-n} syntaxes.Ben Straub2012-05-111-16/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added some reflags to the test repo to support unit tests.
| * | | | | Implementing rev-parse's "ref~2" syntax.Ben Straub2012-05-111-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also extended the test suite to include chaining operators, e.g. "master^2~3^4".
| * | | | | Removed goto from state machine loop.Ben Straub2012-05-111-22/+17
| | | | | |
| * | | | | Returning error if dereferencing operation fails.Ben Straub2012-05-111-1/+4
| | | | | |
| * | | | | Implemented rev-parse "^{type}" syntax.Ben Straub2012-05-111-14/+14
| | | | | |
| * | | | | Implemented rev-parse's "^{}" syntax.Ben Straub2012-05-111-15/+61
| | | | | |
| * | | | | Implemented partial caret syntax for rev-parse.Ben Straub2012-05-111-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supported forms: - "^n" - "^0" - "^" Still missing: all of the "^{…}" variants.
| * | | | | Simpler states and initial structure.Ben Straub2012-05-111-27/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tests for "foo^2" syntax, but they don't pass yet. Support for chaining these, i.e. "foo^2~3^{u}~1' is starting to shape up.
| * | | | | First stab at implementation of rev-parse.Ben Straub2012-05-111-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version supports refspecs of these kinds: - Full & partial SHAs - Output from "git describe" - "/refs/heads/master" (full ref names) - "master" (partial ref names) - "FETCH_HEAD" (named heads)
* | | | | | Merge pull request #704 from nulltoken/topic/blob_fromchunksVicent Martí2012-06-073-11/+66
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add the ability to create blob given a provider of chunks of bytes
| * | | | | | blob: add git_blob_create_fromchunks()nulltoken2012-06-071-11/+60
| | | | | | |
| * | | | | | filebuf: add git_filebuf_flush()nulltoken2012-05-272-0/+6
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #752 from nulltoken/fix/warningVicent Martí2012-06-071-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix compilation warning and failing test
| * | | | | | Fix compilation warningnulltoken2012-06-071-1/+3
| | |_|_|/ / | |/| | | |
* | | | | | Fix git_status_file for files that start with a character > 0x7fAdam Roben2012-06-071-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git_status_file would always return GIT_ENOTFOUND for these files. The underlying bug was that git__strcmp_cb, which is used by git_path_with_stat_cmp to sort entries in the working directory, compares strings based on unsigned chars (this is confirmed by the strcmp(3) manpage), while git__prefixcmp, which is used by workdir_iterator__entry_cmp to search for a path in the working directory, compares strings based on char. So the sort puts this path at the end of the list, while the search expects it to be at the beginning. The fix was simply to make git__prefixcmp compare using unsigned chars, just like strcmp(3). The rest of the change is just adding/updating tests.
* | | | | Don't include arpa/inet.h on WindowsCarlos Martín Nieto2012-06-061-1/+1
| | | | |
* | | | | transports: fix bugletMichael Schubert2012-06-052-2/+2
| | | | |
* | | | | Merge pull request #697 from carlosmn/sslVicent Martí2012-06-0512-79/+438
|\ \ \ \ \ | | | | | | | | | | | | Add HTTPS support
| * | | | | ssl: allow skipping the server certificate checkCarlos Martín Nieto2012-05-265-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes it's useful not to perform the check. Allow it to be configurable.
| * | | | | ssl: look up the last CN the alternative names don't matchCarlos Martín Nieto2012-05-191-11/+54
| | | | | |
| * | | | | ssl: add support for certificates issues to an IP addressCarlos Martín Nieto2012-05-191-7/+32
| | | | | |
| * | | | | ssl: remove GnuTLS supportCarlos Martín Nieto2012-05-193-110/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's too much work for now to redo everything. Move the ssl context struct to transport.h
| * | | | | ssl: match host names according to RFC 2818 (HTTP over TLS)Carlos Martín Nieto2012-05-191-9/+17
| | | | | |
| * | | | | ssl: check certificates against the system's trusted CAsCarlos Martín Nieto2012-05-191-3/+105
| | | | | |
| * | | | | ssl: teardown the connection on closeCarlos Martín Nieto2012-05-193-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should help us free some resources, though the libraries do keep some buffers allocated regardless.
| * | | | | https: make it work with OpenSSL as wellCarlos Martín Nieto2012-05-195-13/+86
| | | | | | | | | | | | | | | | | | | | | | | | Add specific functions that use OpenSSL instead of GnuTLS
| * | | | | http: add https support when GnuTLS is availableCarlos Martín Nieto2012-05-1910-78/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If it's not available, an error saying so will be returned when trying to use a https:// URL. This also unifies a lot of the network code to use git_transport in many places instead of an socket descriptor.
* | | | | | Merge pull request #747 from nulltoken/topic/init-filemodeVicent Martí2012-06-052-13/+62
|\ \ \ \ \ \ | | | | | | | | | | | | | | Make git_repository_init() value "core.filemode" and "core.ignorecase"
| * | | | | | repository: make git_repository_init() value the core.ignorecase config entrynulltoken2012-06-051-12/+38
| | | | | | |
| * | | | | | repository: make git_repository_init() value the core.filemode config entrynulltoken2012-06-052-1/+24
| | |_|_|/ / | |/| | | |