summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Refs: Introduce `git_refname_t`.Arthur Schreiber2014-05-302-13/+12
| | | | |
| | * | | Refs: Fix some issue when core.precomposeunicode = true.Arthur Schreiber2014-05-302-25/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes two issues I found when core.precomposeunicode is enabled: * When creating a reference with a NFD string, the returned git_reference would return this NFD string as the reference’s name. But when looking up the reference later, the name would then be returned as NFC string. * Renaming a reference would not honor the core.precomposeunicode and apply no normalization to the new reference name.
| * | | config: initialize the errorCarlos Martín Nieto2014-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | The error would be uninitialized if we take a snapshot of a config with no backends.
| * | | Merge pull request #2381 from ecoffey/example_log_author_filterVicent Marti2014-05-292-8/+47
| |\ \ \ | | | | | | | | | | Add support for --author flag in example log implementation
| | * | | examples/log.c: invert filtering impl and conditionalEoin Coffey2014-05-281-14/+14
| | | | |
| | * | | Remove simple --author, --committer, and --grep from PROJECTSEoin Coffey2014-05-231-6/+0
| | | | |
| | * | | Add support for --grepEoin Coffey2014-05-231-1/+23
| | | | |
| | * | | Add --committer option, and break out helper functionEoin Coffey2014-05-231-7/+21
| | | | |
| | * | | Add support for --author flag in example log implementationEoin Coffey2014-05-221-1/+10
| | | | |
| * | | | Merge pull request #2011 from libgit2/cmn/clone-localVicent Marti2014-05-297-13/+347
| |\ \ \ \ | | | | | | | | | | | | Local clone
| | * | | | clone: more explicit local testscmn/clone-localCarlos Martín Nieto2014-05-291-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assert the exact amount of links we expect. While there, check that a plain git_clone() automatically chooses to link.
| | * | | | clone: allow for linking in local cloneCarlos Martín Nieto2014-05-283-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If requested, git_clone_local_into() will try to link the object files instead of copying them. This only works on non-Windows (since it doesn't have this) when both are on the same filesystem (which are unix semantics).
| | * | | | fileops: allow linking files when copying directory structuresCarlos Martín Nieto2014-05-283-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passed the LINK_FILES flag, the recursive copy will hardlink files instead of copying them.
| | * | | | clone: add flag not to linkCarlos Martín Nieto2014-05-283-1/+4
| | | | | |
| | * | | | clone: add flags to override whether to perform a local cloneCarlos Martín Nieto2014-05-284-1/+72
| | | | | |
| | * | | | clone: store the realpath when given a relative oneCarlos Martín Nieto2014-05-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A call like git_clone("./foo", "./foo1") writes origin's url as './foo', which makes it unusable, as they're relative to different things. Go with git's behaviour and store the realpath as the url.
| | * | | | clone: perform a "local clone" when given a local pathCarlos Martín Nieto2014-05-282-11/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When git is given such a path, it will perform a "local clone", bypassing the git-aware protocol and simply copying over all objects that exist in the source. Copy this behaviour when given a local path.
| * | | | | Merge pull request #2386 from Therzok/patch-2Russell Belfer2014-05-281-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | [Blob] Update documentation for is_binary.
| | * | | | | [Blob] Update documentation for is_binary.Ungureanu Marius2014-05-281-1/+1
| |/ / / / / | | | | | | | | | | | | filter.h tells me that we check the first 8000 bytes.
| * | | | | Merge pull request #2380 from libgit2/cmn/index-add-modesVicent Marti2014-05-282-0/+29
| |\ \ \ \ \ | | | | | | | | | | | | | | index: check for valid filemodes on add
| | * | | | | index: check for valid filemodes on addcmn/index-add-modesCarlos Martín Nieto2014-05-222-0/+29
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #2377 from libgit2/cmn/dual-osVicent Marti2014-05-283-4/+23
| |\ \ \ \ \ | | | | | | | | | | | | | | travis: build on osx too
| | * | | | | travis: build on osx toocmn/dual-osCarlos Martín Nieto2014-05-213-4/+23
| | | | | | |
| * | | | | | Merge pull request #2359 from e45lee/chmod-fixVicent Marti2014-05-281-6/+14
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixed permissions on template directories.
| | * | | | | | Address style concerns in setting mkdir/copy flags.Edward Lee2014-05-231-16/+10
| | | | | | | |
| | * | | | | | Fixed permissions on template directories.Edward Lee2014-05-161-7/+21
| | | | | | | |
| * | | | | | | Merge pull request #2385 from karipe/developmentVicent Marti2014-05-282-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix compile error on Visual Studio
| | * | | | | | | Fix compile error on Visual StudioCha, Hojeong2014-05-272-3/+3
| | | |_|_|/ / / | | |/| | | | |
| * | | | | | | Merge pull request #2337 from ethomson/merge_ffVicent Marti2014-05-283-34/+125
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | Introduce GIT_MERGE_CONFIG_* for merge.ff settings
| | * | | | | | Modify GIT_MERGE_CONFIG -> GIT_MERGE_PREFERENCEEdward Thomson2014-05-273-31/+32
| | | | | | | |
| | * | | | | | Staticify `merge_config`Edward Thomson2014-05-271-1/+1
| | | | | | | |
| | * | | | | | Use a config snapshotEdward Thomson2014-05-271-1/+1
| | | | | | | |
| | * | | | | | Move GIT_MERGE_CONFIG_* to its own enumEdward Thomson2014-05-273-43/+61
| | | | | | | |
| | * | | | | | Introduce GIT_MERGE_CONFIG_* for merge.ff settingsEdward Thomson2014-05-273-9/+81
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git_merge_analysis will now return GIT_MERGE_CONFIG_NO_FASTFORWARD when merge.ff=false and GIT_MERGE_CONFIG_FASTFORWARD_ONLY when merge.ff=true
| * | | | | | Merge pull request #2382 from mikeando/doc_fixesCarlos Martín Nieto2014-05-2610-34/+31
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixed miscellaneous documentation errors.
| | * | | | | | Fixed miscellaneous documentation errors.Michael Anderson2014-05-2310-34/+31
| |/ / / / / /
| * | | | | | odb: clear backend errors on successful readCarlos Martín Nieto2014-05-231-0/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | We go through the different backends in order, so it's not an error if at least one of the backends has the data we want.
| * | | | | smart: initialize the error variableCarlos Martín Nieto2014-05-221-1/+1
| | | | | |
| * | | | | Plug leaks and fix a C99-ismCarlos Martín Nieto2014-05-223-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have too many places where we repeat free code, so when adding the new free to the generic code, it didn't take for the local transport. While there, fix a C99-ism that sneaked through.
| * | | | | Merge pull request #2376 from libgit2/cmn/remote-symrefVicent Marti2014-05-2211-98/+284
| |\ \ \ \ \ | | | | | | | | | | | | | | Add support for the symref extension
| | * | | | | clone: get rid of head_infocmn/remote-symrefCarlos Martín Nieto2014-05-211-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we no longer need to push data to callbacks, there's no need for this truct.
| | * | | | | clone: make use of the remote's default branch guessingCarlos Martín Nieto2014-05-211-67/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's use the remote's default branch guessing instead of reinventing one ourselves with callbacks.
| | * | | | | remote: add api to guess the remote's default branchCarlos Martín Nieto2014-05-213-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the remote supports the symref protocol extension, then we return that, otherwise we guess with git's rules.
| | * | | | | local transport: expose the symref dataCarlos Martín Nieto2014-05-211-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the local transport, we always have the symbolic information available, so fill it.
| | * | | | | remote: expose the remote's symref mappingsCarlos Martín Nieto2014-05-214-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a symref_target field to git_remote_head to expose the symref mappings to the user.
| | * | | | | smart: store reported symrefsCarlos Martín Nieto2014-05-213-7/+82
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The protocol has a capability which allows the server to tell us which refs are symrefs, so we can e.g. know which is the default branch. This capability is different from the ones we already support, as it's not setting a flag to true, but requires us to store a list of refspec-formatted mappings. This commit does not yet expose the information in the reference listing.
| * | | | | Merge pull request #2375 from libgit2/rb/safecrlf-on-lf-platformVicent Marti2014-05-223-3/+25
| |\ \ \ \ \ | | | | | | | | | | | | | | Make core.safecrlf not generate an error on LF-ending platforms
| | * | | | | Just don't CRLF filter if there are no CRsrb/safecrlf-on-lf-platformRussell Belfer2014-05-191-3/+5
| | | | | | |
| | * | | | | Make core.safecrlf work on LF-ending platformsRussell Belfer2014-05-193-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you enabled core.safecrlf on an LF-ending platform, we would error even for files with all LFs. We should only be warning on irreversible mappings, I think.
| * | | | | | Merge pull request #2379 from ethomson/status_win32Vicent Marti2014-05-221-2/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Include windows.h on win32 for Sleep