| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Refactor checkout into several more-sensible
entry points, which consolidates common options
into a single structure that may be passed around.
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Pevents collisions with the original libgit, which also exports those
exact symbols.
Fixes #822
|
| | | |
|
| | |\
| | |
| | | |
odb: add git_odb_foreach()
|
| | | |
| | |
| | |
| | |
| | | |
Go through each backend and list every objects that exists in
them. This allows fsck-like uses.
|
| | |\ \
| | | |
| | | | |
Fix revwalk email parsing
|
| | | | | |
|
| | |\ \ \
| | | | |
| | | | | |
Revparse refactoring: a start
|
| | | | | | |
|
| | | |/ / |
|
| | |\ \ \
| | |/ /
| |/| | |
Assorted goodies
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This added a flag to the `git_repository_set_workdir()` function
that enables generation of a `.git` gitlink file that links the
new workdir to the parent repository. Essentially, the flag tells
the function to write out the changes to disk to permanently set
the workdir of the repository to the new path.
If you pass this flag as true, then setting the workdir to something
other than the default workdir (i.e. the parent of the .git repo
directory), will create a plain file named ".git" with the standard
gitlink contents "gitdir: <repo-path>", and also update the
"core.worktree" and "core.bare" config values.
Setting the workdir to the default repo workdir will clear the
core.worktree flag (but still permanently set core.bare to false).
BTW, the libgit2 API does not currently provide a function for
clearing the workdir and converting a non-bare repo into a bare one.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adding a new config iteration function that let's you iterate
over just the config entries that match a particular regular
expression. The old foreach becomes a simple use of this with
an empty pattern.
This also fixes an apparent bug in the existing `git_config_foreach`
where returning a non-zero value from the iteration callback was
not correctly aborting the iteration and the returned value was
not being propogated back to the caller of foreach.
Added to tests to cover all these changes.
|
| | | | | |
|
| | |\ \ \
| | |/ /
| |/| | |
refs and revparse love <3
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| | | | |
| | | | | |
Bring back `entry_bypath`
|
| | | | | | |
|
| | | | |/
| | |/|
| | | |
| | | | |
Smaller, simpler, faster.
|
| | |\ \ \
| | |_|/
| |/| | |
diff: make inter-hunk-context default value git-compliant
|
| | | |/
| | |
| | |
| | | |
Default in git core is 0, not 3
|
| | |/ |
|
| | |
| |
| |
| |
| | |
Not everyone who indexes a packfile wants to put it in the standard
git repository location.
|
| | |\
| | |
| | | |
Topic/refs fromglob
|
| | | | |
|
| | | | |
|
| | |\ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | | |
http://github.com/libgit2/libgit2/pull/766
|
| | | |\ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merging main libgit2!
Conflicts:
CMakeLists.txt
src/unix/map.c
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
So far they only create a repo, setup the "origin"
remote, and fetch. The API probably needs work as
well; there's no way to get progress information
at this point.
Also uncovered a shortcoming; git_remote_download
doesn't fetch over local transport.
|
| |\ \ \ \
| | | | |
| | | | | |
Make index add/append support core.filemode flag
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes git_index_add and git_index_append to behave more like
core git, preserving old filemode data in the index when adding
and/or appending with core.filemode = false.
This also has placeholder support for core.symlinks and
core.ignorecase, but those flags are not implemented (well,
symlinks has partial support for preserving mode information in
the same way that git does, but it isn't tested).
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
git_commit() and git_tag() no longer prettify the
message by default. This has to be taken care of
by the caller.
This has the nice side effect of putting the
caller in position to actually choose to strip
the comments or not.
|
| |\ \ \ \
| |_|_|/
|/| | | |
Expose git_merge_base_many()
|
| | | | | |
|