- 17 Sep, 2013 1 commit
-
-
Unfortunately git-core uses the term "unborn branch" and "orphan branch" interchangeably. However, "orphan" is only really there for the checkout command, which has the `--orphan` option so it doesn't actually create the branch. Branches never have parents, so the distinction of a branch with no parents is odd to begin with. Crucially, the error messages deal with unborn branches, so let's use that.
Carlos Martín Nieto committed
-
- 10 Sep, 2013 1 commit
-
-
nulltoken committed
-
- 26 Aug, 2013 1 commit
-
-
Nikolai Vladimirov committed
-
- 23 Aug, 2013 1 commit
-
-
Russell Belfer committed
-
- 20 Aug, 2013 1 commit
-
-
If there were symbolic refs among the loose refs then the code to create packed-refs would fail trying to parse the OID out of them (where Git just skips trying to pack them). This fixes it.
Russell Belfer committed
-
- 07 Aug, 2013 1 commit
-
-
Ben Straub committed
-
- 13 Jul, 2013 1 commit
-
-
Fix #1722
nulltoken committed
-
- 17 Jun, 2013 1 commit
-
-
Also fixed an assert typo on nulltoken's HEAD
yorah committed
-
- 12 Jun, 2013 1 commit
-
-
This fixes problems with missing function prototypes and 64-bit data issues on Windows.
Russell Belfer committed
-
- 10 Jun, 2013 1 commit
-
-
This is a significant reorganization of the diff code to break it into a set of more clearly distinct files and to document the new organization. Hopefully this will make the diff code easier to understand and to extend. This adds a new `git_diff_driver` object that looks of diff driver information from the attributes and the config so that things like function content in diff headers can be provided. The full driver spec is not implemented in the commit - this is focused on the reorganization of the code and putting the driver hooks in place. This also removes a few #includes from src/repository.h that were overbroad, but as a result required extra #includes in a variety of places since including src/repository.h no longer results in pulling in the whole world.
Russell Belfer committed
-
- 28 May, 2013 1 commit
-
-
Vicent Marti committed
-
- 16 May, 2013 2 commits
- 15 May, 2013 1 commit
-
-
nulltoken committed
-
- 11 May, 2013 5 commits
-
-
There was a problem found in the Rugged test suite where the refdb_fs_backend__next function could exit too early in some very specific hashing patterns for packed refs. This ports the Rugged test to libgit2 and then fixes the bug.
Russell Belfer committed -
Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend.
Carlos Martín Nieto committed -
Selecting wether to list loose or packed references is not something we want to support anymore, so remove a test for this.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
This allows us to get a list of reference names in a loop instead of callbacks.
Carlos Martín Nieto committed
-
- 10 May, 2013 1 commit
-
-
nulltoken committed
-
- 08 May, 2013 1 commit
-
-
Generate a shorthand name out of the full refname.
Carlos Martín Nieto committed
-
- 06 May, 2013 1 commit
-
-
Currently git_branch_set_upstream when passed a local branch creates invalid configuration, for ex. if we setup branch 'tracking_master' to track local 'master' libgit2 generates the following config ``` [branch "track_master"] remote = . merge = .refs/heads/track_master ``` The merge value is invalid and calling git_branch_upstream on 'tracking_master' results in invalid reference error. It should do: ``` [branch "track_master"] remote = . merge = refs/heads/master ```
Nikolai Vladimirov committed
-
- 02 May, 2013 1 commit
-
-
Older versions of git would only write peeled entries for items under refs/tags/. Newer versions will write them for all refs, and we should be prepared to handle that.
Jeff King committed
-
- 01 May, 2013 1 commit
-
-
There were a couple of places where an error was being returned from branch related code but no error message was being set.
Russell Belfer committed
-
- 20 Apr, 2013 2 commits
-
-
Introduce git_remote_{fetch,push}_refspecs() to get a list of refspecs from the remote and rename the refspec-adding functions to a less silly name. Use this instead of the vector index hacks in the tests.
Carlos Martín Nieto committed -
A remote can have a multitude of refspecs. Up to now our git_remote's have supported a single one for each fetch and push out of simplicity to get something working. Let the remotes and internal code know about multiple remotes and get the tests passing with them. Instead of setting a refspec, the external users can clear all and add refspecs. This should be enough for most uses, though we're still missing a querying function.
Carlos Martín Nieto committed
-
- 19 Apr, 2013 1 commit
-
-
Edward Thomson committed
-
- 15 Apr, 2013 4 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
This will probably prevent many lookup/free operations in calling code.
Ben Straub committed -
Ben Straub committed
-
- 11 Apr, 2013 1 commit
-
-
Add functions to set and unset the upstream configuration to complement the getter we already have.
Carlos Martín Nieto committed
-
- 09 Apr, 2013 1 commit
-
-
Ben Straub committed
-
- 08 Apr, 2013 1 commit
-
-
Ben Straub committed
-
- 07 Apr, 2013 2 commits
-
-
Vicent Marti committed
-
Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed
-
- 31 Mar, 2013 2 commits
-
-
nulltoken committed
-
Return the size we'd need to write to instead of simply an error. Split the function into two to be used later by the upstream configuration functions.
Carlos Martín Nieto committed
-
- 30 Mar, 2013 1 commit
-
-
The term 'tracking' is overloaded. Help distinguish what we mean by using 'upstream' for this part of the library.
Carlos Martín Nieto committed
-
- 14 Mar, 2013 1 commit
-
-
This fixes various build warnings on Mac and Windows (64-bit).
Russell Belfer committed
-