summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Revert "Always checkout with case sensitive iterator"Edward Thomson2015-05-042-3/+14
| | | | | | | | | | | | | | | | This reverts commit 40d791545abfb3cb71553a27dc64129e1a9bec28.
| * | | checkout test: ensure we write to casechanged dirEdward Thomson2015-05-041-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | Ensure that on a case insensitive filesystem that we can checkout into some folder 'FOLDER' that exists on disk, even if the target of the checkout is a different case (eg 'folder').
| * | | checkout test: ignore unstaged case-changing renamesEdward Thomson2015-05-041-0/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | On Windows, you might sloppily rewrite a file (or have a sloppy text editor that does it for you) and accidentally change its case. (eg, "README" -> "readme"). Git ignores this accidental case changing rename during checkout and will happily write the new content to the file despite the name change. We should, too.
* | | Merge pull request #3087 from ethomson/pr/3054Carlos Martín Nieto2015-05-0422-358/+852
|\ \ \ | | | | | | | | Performance Improvements to Status on Windows
| * | | diriter: actually use iconv on macEdward Thomson2015-05-012-86/+94
| | | |
| * | | git_buf_put_w: introduce utf16->utf8 conversionEdward Thomson2015-05-015-27/+81
| | | |
| * | | git_path_diriter: use FindFirstFile in win32Edward Thomson2015-05-014-8/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Using FindFirstFile and FindNextFile in win32 allows us to use the directory information that is returned, instead of us having to get the file attributes all over again, which is a distinct cost savings on win32.
| * | | git_path_diriter: next shouldn't take path ptrEdward Thomson2015-05-014-23/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The _next method shouldn't take a path pointer (and a path_len pointer) as 100% of current users use the full path and ignore the filename. Plus let's add some docs and a unit test.
| * | | git_path_dirload_with_stat: moved to fs_iteratorEdward Thomson2015-05-013-170/+116
| | | |
| * | | git_path_dirload_with_stat: use git_path_diriterEdward Thomson2015-05-011-123/+51
| | | |
| * | | git_win32_path_dirload_with_stat: removedEdward Thomson2015-05-013-209/+1
| | | |
| * | | git_path_dirload: use git_path_diriterEdward Thomson2015-05-013-83/+116
| | | |
| * | | git_path: introduce 'git_path_diriter'Edward Thomson2015-05-014-1/+163
| | | | | | | | | | | | | | | | | | | | Introduce a new `git_path_diriter` that can iterate directories efficiently for each platform.
| * | | win32: keep full path for realpath usageEdward Thomson2015-04-281-8/+34
| | | |
| * | | win32: mimic git_path_dirload_with_stat closelyEdward Thomson2015-04-281-40/+28
| | | |
| * | | dirload: loop conditional; less path manglingEdward Thomson2015-04-281-59/+102
| | | |
| * | | win32 dirload: don't heap allocate DIR structureEdward Thomson2015-04-281-22/+18
| | | |
| * | | win32: abstract file attributes -> struct stat fnEdward Thomson2015-04-284-80/+81
| | | |
| * | | Improvements to status performance on Windows.J Wyman2015-04-285-87/+281
| | | | | | | | | | | | | | | | Changed win32/path_w32.c to utilize NTFS' FindFirst..FindNext data instead of doing an lstat per file. Avoiding unnecessary directory opens and file scans reduces IO, improving overall performance. Effect is magnified due to NTFS being a kernel mode file system (as opposed to user mode).
| * | | Improvements to ignore performance on Windows.J Wyman2015-04-287-18/+45
| | |/ | |/| | | | | | | Minimizing the number directory and file opens, minimizes the amount of IO thus reducing the overall cost of performing ignore operations.
* | | Merge pull request #3089 from volftomas/patch-2Edward Thomson2015-05-021-5/+12
|\ \ \ | | | | | | | | Added call to git_libgit2_shutdown()
| * | | Restructured to be nicer exampleTomas Paladin Volf2015-05-021-9/+14
| | | | | | | | | | | | | | | | | | | | Code restructured to better represent best practice when using libgit2.
| * | | Added call to git_libgit2_shutdown()Tomas Paladin Volf2015-04-301-2/+4
| | |/ | |/| | | | Added forgotten call to git_libgit2_shutdown() to the /examples/network/git2.c.
* | | Merge pull request #3092 from techee/iconv_macports_fix2Edward Thomson2015-05-011-3/+0
|\ \ \ | | | | | | | | Don't search iconv in /opt/local
| * | | Don't search iconv in /opt/localJiří Techet2015-05-011-3/+0
|/ / / | | | | | | | | | | | | | | | | | | Since OpenSSL isn't used any more on OS X, there is no dependency on any MacPorts library under /opt/local and there is no danger of conflicts between MacPorts and system iconv. For this reason the system iconv can always be used now.
* | | Merge pull request #3059 from libgit2/cmn/negotiation-notifyEdward Thomson2015-05-017-7/+91
|\ \ \ | | | | | | | | [WIP/RFC] push: report the update plan to the caller
| * | | push: report the update plan to the callercmn/negotiation-notifyCarlos Martín Nieto2015-04-197-7/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It can be useful for the caller to know which update commands will be sent to the server before the packfile is pushed up. git does this via the pre-push hook. We don't have hooks, but as it adds introspection into what is happening, we can add a callback which performs the same function.
* | | | Merge pull request #3081 from leoyanggit/build_warningsEdward Thomson2015-05-013-8/+8
|\ \ \ \ | | | | | | | | | | Fix some build warnings
| * | | | Fix some build warningsLeo Yang2015-04-283-8/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In checkout.c and filter.c we were casting a sub struct to a parent struct which breaks the strict aliasing rules in C. However we can use .parent or .base to access the parent struct to avoid the build warnings. In remote.c the local variable error was not initialized or updated in some cases. For unintialized error a build warning will be generated. So always keep error variable up-to-date.
* | | | Merge pull request #3090 from libgit2/jamill/doc_updateCarlos Martín Nieto2015-04-302-1/+4
|\ \ \ \ | | | | | | | | | | Update documentation for API changes
| * | | | Update documentation for API changesjamill/doc_updateJameson Miller2015-04-302-1/+4
| | |_|/ | |/| |
* | | | Merge pull request #3088 from volftomas/patch-1Carlos Martín Nieto2015-04-301-0/+5
|\ \ \ \ | |/ / / |/| | | Fixed unused warning in tests/rebase/merge.c
| * | | Fixed unused warning in tests/rebase/merge.cTomas Paladin Volf2015-04-301-0/+5
|/ / /
* | | Merge pull request #3085 from yongthecoder/regfreeCarlos Martín Nieto2015-04-291-3/+2
|\ \ \ | |/ / |/| | Do not call regfree() on an empty regex that is not successfully created...
| * | Do not call regfree() on an empty regex that is not successfully created by ↵Yong Li2015-04-291-3/+2
|/ / | | | | | | | | | | regcomp (also removed an unused member "has_regex" from all_iter)
* | Merge pull request #3071 from linquize/git_reflog_dropEdward Thomson2015-04-241-1/+1
|\ \ | | | | | | Fix wrong format string in git_reflog_drop() error message
| * | Fix wrong format string in git_reflog_drop() error messageLinquize2015-04-241-1/+1
| | |
* | | Merge pull request #3063 from ethomson/config_validate_nameCarlos Martín Nieto2015-04-243-14/+112
|\ \ \ | | | | | | | | Validate configuration keys
| * | | config: peek returns '\n' on EOF; handle in writeEdward Thomson2015-04-231-1/+1
| | | |
| * | | config: ensure we can write to an empty fileEdward Thomson2015-04-231-0/+35
| | | |
| * | | config: validate config keysEdward Thomson2015-04-231-13/+41
| | | |
| * | | config: test that we validate the keyEdward Thomson2015-04-231-0/+35
| | | |
* | | | Merge pull request #2997 from libgit2/cmn/secure-transportEdward Thomson2015-04-2317-23/+396
|\ \ \ \ | |/ / / |/| | | Use SecureTransport on OS X
| * | | SecureTransport: handle graceful closescmn/secure-transportCarlos Martín Nieto2015-04-231-2/+3
| | | | | | | | | | | | | | | | | | | | On close, we might get a return code which looks like an error but just means that the other side closed gracefully. Handle that.
| * | | SecureTransport: require TLS v1.xCarlos Martín Nieto2015-04-231-0/+2
| | | | | | | | | | | | | | | | | | | | Anything SSL is deprecated. Let's make sure we don't try to use SSL v3 when talking to the server.
| * | | Update THREADING and CHANGELOG with SecureTransport detailsCarlos Martín Nieto2015-04-232-4/+17
| | | |
| * | | SecureTransport: allow overriding a bad certificateCarlos Martín Nieto2015-04-231-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | Do not automatically fail on a bad certificate, but let the caller decide. This means we don't need our switch on errors anymore but can return a string representation from the security framework.
| * | | Rename GIT_SSL to GIT_OPENSSLCarlos Martín Nieto2015-04-2310-16/+16
| | | | | | | | | | | | | | | | | | | | This is what it's meant all along, but now we actually have multiple implementations, it's clearer to use the name of the library.
| * | | Silence unused warnings when not using OpenSSLCarlos Martín Nieto2015-04-231-0/+4
| | | |
| * | | Abstract away the TLS stream implementationCarlos Martín Nieto2015-04-233-2/+51
| | | | | | | | | | | | | | | | | | | | Instead, provide git_tls_stream_new() to ask for the most appropriate encrypted stream and use it in our HTTP transport.