]>
git.proxmox.com Git - libgit2.git/log
Carlos Martín Nieto [Wed, 30 Oct 2013 16:24:36 +0000 (17:24 +0100)]
refs: adjust to the new reflog API
nulltoken [Tue, 14 May 2013 14:40:09 +0000 (16:40 +0200)]
refs: Introduce git_reference_symbolic_set_target_with_log()
nulltoken [Tue, 14 May 2013 14:07:33 +0000 (16:07 +0200)]
refs: Introduce git_reference_set_target_with_log()
nulltoken [Mon, 13 May 2013 15:44:39 +0000 (17:44 +0200)]
refs: Introduce git_reference_symbolic_create_with_log()
nulltoken [Mon, 13 May 2013 14:21:09 +0000 (16:21 +0200)]
refs: Introduce git_reference_create_with_log()
nulltoken [Sun, 12 May 2013 12:16:13 +0000 (14:16 +0200)]
refs: Centralize reference creation logic
Vicent Martí [Wed, 20 Nov 2013 15:06:35 +0000 (07:06 -0800)]
Merge pull request #1972 from ghedo/ssh_agent
ssh: add support for ssh-agent authentication
Alessandro Ghedini [Wed, 20 Nov 2013 13:20:32 +0000 (14:20 +0100)]
transport: document ssh-agent authentication
Alessandro Ghedini [Wed, 20 Nov 2013 13:11:44 +0000 (14:11 +0100)]
ssh: add support for ssh-agent authentication
Vicent Marti [Wed, 20 Nov 2013 11:53:33 +0000 (12:53 +0100)]
libgit2 0.20.0 "anmeldung"
Apologies for the delay. This release is chunky,
but you're probably used to chunky releases by now.
Full changelog follows:
Internal changes
+ Added support for decomposed Unicode paths in Mac OS X
+ Added support for junctions in win32
+ Fixed issues with HTTP redirects in the network stack
+ Performance improvements (as always)
git2/blame.h
+ added full support for blame operations
git2/blob.h
+ added `git_blob_filtered_content` to load blobs in
memory with their corresponding filters applied
git2/branch.h
+ added branch iterators as an alternative to the
callback-based API
git2/buffer.h
+ exported the git_buf struct to allow binary buffers
to be passed from/to the library. This simplifies
several APIs
git2/checkout.h
+ implemented additional checkout options ('skip unmerged',
'use ours' and 'use theirs')
git2/clone.h
+ simplified the clone API
+ added new `git_clone_into` to clone into an existing
(empty) repository
git2/commit.h
+ added APIs to access the raw (uncleaned) text of a commit
message
git2/common.h
+ added global options to set the default paths to load
templates from
git2/config.h
+ added multivar iterators
+ added globbing iterator
+ added `git_config_foreach_match` to perform operations
on every single var in a config file
git2/diff.h
+ restructured and simplified the diff API
git2/filter.h
+ added external APIs to configure and apply custom filters
to checked out blobs
git2/index.h
+ `git_index_read` can now force a reload of the index file
even if it hasn't changed on-disk
git2/indexer.h
+ improved the streaming indexer APIs
git2/merge.h
+ added support for merge!
git2/object.h
+ added helper API to lookup a generic object by path
git2/pack.h
+ added progress callbacks to the packbuilder
git2/patch.h
+ added support for patch generation as part of the Diff
API revamp
git2/pathspec.h
+ added helper APIs to work with pathspecs and match files
in the workdir or diffs
git2/push.h
+ added progress callbacks to push
git2/reflog.h
+ changed reflog APIs to work on reference names instead of
the references themselves, so they become less racy
git2/remote.h
+ added support for setting refspecs on remotes, either at
creation or on existing ones
+ simplified the remotes API
git2/revwalk.h
+ add API to simplify parents during a walk
git2/signature.h
+ add helper to create a signature with the default values for
a repository (i.e. the set `user.name` and `user.email` values,
and the current time)
git2/submodules.h
+ improve the status detection for submodules
git2/sys/
+ exported many new internal APIs, such as pluggabe transport
APIs
-vmg, out
Carlos Martín Nieto [Wed, 20 Nov 2013 10:52:57 +0000 (11:52 +0100)]
Formatting fix for cred_acquire_cb
Vicent Martí [Tue, 19 Nov 2013 19:36:02 +0000 (11:36 -0800)]
Merge pull request #1966 from nickh/patch_content_offsets
Add content offset to git_diff_line
Vicent Martí [Tue, 19 Nov 2013 17:15:30 +0000 (09:15 -0800)]
Merge pull request #1970 from ghedo/netbsd_qsort
util: NetBSD doesn't have qsort_r either
Alessandro Ghedini [Tue, 19 Nov 2013 16:58:58 +0000 (17:58 +0100)]
util: NetBSD doesn't have qsort_r either
Vicent Martí [Tue, 19 Nov 2013 13:29:37 +0000 (05:29 -0800)]
Merge pull request #1969 from libgit2/ntk/fix/drop_comment
Cleaning up
nulltoken [Tue, 19 Nov 2013 13:25:30 +0000 (14:25 +0100)]
tests: Drop unrelated comment
Vicent Martí [Tue, 19 Nov 2013 12:54:31 +0000 (04:54 -0800)]
Merge pull request #1968 from libgit2/ntk/fix/bad_index
Corrupted index is bad for your health
nulltoken [Tue, 19 Nov 2013 12:24:10 +0000 (13:24 +0100)]
index: Free the index on git_index_open() failure
nulltoken [Tue, 19 Nov 2013 12:16:09 +0000 (13:16 +0100)]
tree-cache: Fix error message typo
nulltoken [Tue, 19 Nov 2013 12:15:47 +0000 (13:15 +0100)]
tree-cache: Don't segfault upon corruption
nulltoken [Tue, 19 Nov 2013 12:13:51 +0000 (13:13 +0100)]
tree-cache: Zero out the allocated tree children array
nulltoken [Tue, 19 Nov 2013 11:54:57 +0000 (12:54 +0100)]
tree-cache: Free the tree upon the detection of a corrupted child
Vicent Martí [Tue, 19 Nov 2013 11:13:23 +0000 (03:13 -0800)]
Merge pull request #1967 from victorgp/cleaning-code-minor-change
Cleaning code, removing unused variables
Victor Garcia [Tue, 19 Nov 2013 10:57:32 +0000 (11:57 +0100)]
cleaning code, removing unused variables
Nick Hengeveld [Mon, 18 Nov 2013 22:03:25 +0000 (14:03 -0800)]
Add content offset to git_diff_line
For additions and deletions, external consumers like subversion
can make use of the content offset to generate diffs in their
proprietary formats.
Carlos Martín Nieto [Mon, 18 Nov 2013 20:40:19 +0000 (21:40 +0100)]
netops: fix leak
Russell Belfer [Mon, 18 Nov 2013 20:14:50 +0000 (12:14 -0800)]
Fix warnings
Vicent Martí [Mon, 18 Nov 2013 19:49:51 +0000 (11:49 -0800)]
Merge pull request #1960 from ethomson/ntlm
NTLM/Negotiate support in WinHTTP
Edward Thomson [Wed, 13 Nov 2013 21:57:51 +0000 (16:57 -0500)]
Introduce git_cred_default for NTLM/SPNEGO auth
Edward Thomson [Wed, 13 Nov 2013 21:46:45 +0000 (16:46 -0500)]
Propagate auth error codes as GIT_EUSER in winhttp
Vicent Martí [Fri, 15 Nov 2013 15:13:50 +0000 (07:13 -0800)]
Merge pull request #1963 from libgit2/ntk/fix/mailmap
Add missing mappings to .mailmap file
nulltoken [Fri, 15 Nov 2013 14:32:52 +0000 (14:32 +0000)]
Add missing mappings to .mailmap file
Vicent Martí [Thu, 14 Nov 2013 22:26:15 +0000 (14:26 -0800)]
Merge pull request #1962 from libgit2/rename-tests
Rename tests directory
Ben Straub [Thu, 14 Nov 2013 22:10:32 +0000 (14:10 -0800)]
Update files that reference tests-clar
Ben Straub [Thu, 14 Nov 2013 22:05:52 +0000 (14:05 -0800)]
Rename tests-clar to tests
Vicent Martí [Thu, 14 Nov 2013 15:21:47 +0000 (07:21 -0800)]
Merge pull request #1951 from victorgp/create-remote-plus-fetch
Allowing create remotes with custom fetch spec
Russell Belfer [Wed, 13 Nov 2013 19:12:31 +0000 (11:12 -0800)]
Fix warnings
Carlos Martín Nieto [Wed, 13 Nov 2013 12:08:56 +0000 (13:08 +0100)]
tests: make a few globals statics
ld was warning that the size of path changed, rightly so.
Vicent Martí [Wed, 13 Nov 2013 09:41:09 +0000 (01:41 -0800)]
Merge pull request #1958 from libgit2/blame-fixes
Blame fixes
Ben Straub [Wed, 13 Nov 2013 03:02:34 +0000 (19:02 -0800)]
Minor cleanup
Ben Straub [Wed, 13 Nov 2013 03:02:28 +0000 (19:02 -0800)]
Don't leak memory when duplicating a NULL signature
Ben Straub [Wed, 13 Nov 2013 02:57:16 +0000 (18:57 -0800)]
Fix buffer blame with new lines at end of file
Ben Straub [Tue, 12 Nov 2013 23:24:59 +0000 (15:24 -0800)]
Duplicate all fields of a blame hunk
Ben Straub [Tue, 12 Nov 2013 23:24:05 +0000 (15:24 -0800)]
Add some failing blame test cases
Vicent Martí [Tue, 12 Nov 2013 12:52:11 +0000 (04:52 -0800)]
Merge pull request #1957 from linquize/warning3
Fix warnings
Linquize [Tue, 12 Nov 2013 11:44:13 +0000 (19:44 +0800)]
Fix warnings
Vicent Martí [Mon, 11 Nov 2013 14:47:15 +0000 (06:47 -0800)]
Merge pull request #1956 from libgit2/cmn/fetch-default-head
Remote revamp (director's cut)
Carlos Martín Nieto [Mon, 11 Nov 2013 14:32:13 +0000 (15:32 +0100)]
remote: update head list on push
A previous commit forgot to update the head list after push as well,
leading to wrong output of git_remote_ls().
Carlos Martín Nieto [Sun, 10 Nov 2013 16:29:06 +0000 (17:29 +0100)]
tests: update push tests
These tests were forgotten when modifying git_remote_ls().
Carlos Martín Nieto [Sat, 2 Nov 2013 00:10:21 +0000 (01:10 +0100)]
remote: let's at least pretend to have some memory safety
Copy the pointers into temporary vectors instead of assigning them tot
he same array so we don't mess up with someone else's memory by
accident (e.g. by sorting).
Carlos Martín Nieto [Fri, 1 Nov 2013 23:51:57 +0000 (00:51 +0100)]
remote: fix a couple of leaks
Carlos Martín Nieto [Fri, 1 Nov 2013 23:05:32 +0000 (00:05 +0100)]
remote: make _ls return the list directly
The callback-based method of listing remote references dates back to the
beginning of the network code's lifetime, when we didn't know any
better.
We need to keep the list around for update_tips() after disconnect() so
let's make use of this to simply give the user a pointer to the array so
they can write straightforward code instead of having to go through a
callback.
Carlos Martín Nieto [Wed, 30 Oct 2013 12:44:22 +0000 (13:44 +0100)]
remote: don't allow such direct access to the refspecs
Removing arbitrary refspecs makes things more complex to reason
about. Instead, let the user set the fetch and push refspec list to
whatever they want it to be.
Vicent Martí [Sun, 10 Nov 2013 16:19:32 +0000 (08:19 -0800)]
Merge pull request #1955 from linquize/trivial.c-warning
Fix warning in tests-clar/merge/workdir/trivial.c
Linquize [Sun, 10 Nov 2013 16:08:54 +0000 (00:08 +0800)]
Fix warning in tests-clar/merge/workdir/trivial.c
Vicent Marti [Sun, 10 Nov 2013 15:41:41 +0000 (16:41 +0100)]
config_file: style
Vicent Martí [Sun, 10 Nov 2013 15:33:11 +0000 (07:33 -0800)]
Merge pull request #1950 from csware/quote-config-values
Correctly quote config values while saving
Vicent Martí [Sun, 10 Nov 2013 15:31:21 +0000 (07:31 -0800)]
Merge pull request #1936 from libgit2/better-url-parsing
Streamline url-parsing logic.
Victor Garcia [Fri, 8 Nov 2013 14:42:52 +0000 (15:42 +0100)]
fixing typo
Victor Garcia [Fri, 8 Nov 2013 11:14:31 +0000 (12:14 +0100)]
splitting funcionality in two methods to avoid ambiguity with NULL
Vicent Martí [Thu, 7 Nov 2013 18:11:26 +0000 (10:11 -0800)]
Merge pull request #1953 from ethomson/packfile_example
update example to new packfile creation signature
Edward Thomson [Thu, 7 Nov 2013 18:00:43 +0000 (12:00 -0600)]
update example to new packfile creation signature
Vicent Martí [Thu, 7 Nov 2013 17:22:01 +0000 (09:22 -0800)]
Merge pull request #1952 from ethomson/packfile_mode
Allow callers to set mode on packfile creation
Edward Thomson [Thu, 7 Nov 2013 17:03:44 +0000 (12:03 -0500)]
Allow callers to set mode on packfile creation
Vicent Martí [Thu, 7 Nov 2013 16:52:32 +0000 (08:52 -0800)]
Merge pull request #1949 from ethomson/packbuilder_oid
Add git_packbuilder_hash to query pack filename
Sven Strickroth [Thu, 7 Nov 2013 16:51:43 +0000 (17:51 +0100)]
Rename method
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Victor Garcia [Thu, 7 Nov 2013 15:22:49 +0000 (16:22 +0100)]
adding doc for new param and test to check fetch spec is correctly added
Edward Thomson [Wed, 6 Nov 2013 23:41:08 +0000 (18:41 -0500)]
Add git_packbuilder_hash to query pack filename
Sven Strickroth [Thu, 7 Nov 2013 14:39:15 +0000 (15:39 +0100)]
Add another testcase to make sure double quotes are correctly escaped
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Victor Garcia [Thu, 7 Nov 2013 13:16:20 +0000 (14:16 +0100)]
allowing create remote with custom fetch spec
Sven Strickroth [Thu, 7 Nov 2013 12:38:04 +0000 (13:38 +0100)]
Add a testcase for values which needs quotes
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth [Thu, 7 Nov 2013 12:17:36 +0000 (13:17 +0100)]
Correctly quote config values while saving
If the value contains a command (; or #) char or starts or ends with space it needs to be quoted.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Vicent Martí [Tue, 5 Nov 2013 23:51:53 +0000 (15:51 -0800)]
Merge pull request #1947 from ethomson/double_free_pkt
don't double free pkt
Edward Thomson [Tue, 5 Nov 2013 23:34:45 +0000 (17:34 -0600)]
don't double free pkt
Vicent Marti [Tue, 5 Nov 2013 21:08:02 +0000 (22:08 +0100)]
cmake: Add `USE_SSH` option
Carlos Martín Nieto [Tue, 5 Nov 2013 20:26:41 +0000 (12:26 -0800)]
Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition
Change the git_branch_iterator_new definition to use git_branch_t
Arthur Schreiber [Tue, 5 Nov 2013 19:51:07 +0000 (20:51 +0100)]
Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.
Ben Straub [Tue, 5 Nov 2013 19:42:42 +0000 (11:42 -0800)]
Blame: change signature to be more binding-friendly
Ben Straub [Tue, 5 Nov 2013 19:35:57 +0000 (11:35 -0800)]
Make url decoding more bulletproof
Ben Straub [Tue, 5 Nov 2013 18:55:54 +0000 (10:55 -0800)]
Fix MSVC 64-bit warnings
Ben Straub [Tue, 5 Nov 2013 18:54:44 +0000 (10:54 -0800)]
Remove unnecessary check
Ben Straub [Tue, 5 Nov 2013 18:37:50 +0000 (10:37 -0800)]
Incorporate feedback
Vicent Martí [Tue, 5 Nov 2013 17:01:08 +0000 (09:01 -0800)]
Merge pull request #1944 from libgit2/ntk/fix/config_search_paths_leaks
Plug configuration file search paths tests leaks
nulltoken [Tue, 5 Nov 2013 15:14:20 +0000 (16:14 +0100)]
Plug configuration file search paths leaks
Vicent Martí [Tue, 5 Nov 2013 16:32:09 +0000 (08:32 -0800)]
Merge pull request #1945 from libgit2/ntk/fix/merge_leaks
Plug git_merge() related leaks
nulltoken [Tue, 5 Nov 2013 15:44:10 +0000 (16:44 +0100)]
Plug git_merge() related leaks
Vicent Martí [Tue, 5 Nov 2013 15:25:19 +0000 (07:25 -0800)]
Merge pull request #1007 from ethomson/merge
merge!
Edward Thomson [Wed, 3 Jul 2013 05:00:45 +0000 (01:00 -0400)]
merge branch into current, updating workdir
Vicent Martí [Tue, 5 Nov 2013 14:55:29 +0000 (06:55 -0800)]
Merge pull request #1943 from libgit2/ntk/fix/leaks
Fix leaks
Vicent Martí [Tue, 5 Nov 2013 14:55:16 +0000 (06:55 -0800)]
Merge pull request #1938 from libgit2/cmn/branch-iterator
branch: move from foreach to an iterator
nulltoken [Tue, 5 Nov 2013 14:10:02 +0000 (15:10 +0100)]
Fix leaks
Vicent Martí [Tue, 5 Nov 2013 14:05:32 +0000 (06:05 -0800)]
Merge pull request #1941 from libgit2/rb/preserve-iterator-error
Preserve error messages during file system iterator cleanup
Carlos Martín Nieto [Sat, 2 Nov 2013 13:07:02 +0000 (14:07 +0100)]
branch: move from foreach to an iterator
Create a git_branch_iterator type which is equivalent to the foreach but
lets us write loops instead of callbacks.
Since the introduction of git_reference_shorthand(), the added value of
passing the name is reduced.
Vicent Marti [Tue, 5 Nov 2013 13:56:10 +0000 (14:56 +0100)]
error: Simplify giterr_detach
Vicent Martí [Tue, 5 Nov 2013 13:39:48 +0000 (05:39 -0800)]
Merge pull request #1942 from libgit2/fix/config_propagate_error
Propagate ELOCKED error when updating the config
nulltoken [Tue, 5 Nov 2013 11:01:14 +0000 (12:01 +0100)]
Propagate ELOCKED error when updating the config
Edward Thomson [Tue, 5 Nov 2013 12:48:45 +0000 (04:48 -0800)]
Merge pull request #1940 from ethomson/filebuf_umask
Take umask into account in filebuf_commit
Edward Thomson [Mon, 4 Nov 2013 23:28:57 +0000 (18:28 -0500)]
move mode_t to filebuf_open instead of _commit
Edward Thomson [Mon, 4 Nov 2013 21:46:32 +0000 (15:46 -0600)]
Take umask into account in filebuf_commit
Ben Straub [Tue, 5 Nov 2013 03:09:30 +0000 (19:09 -0800)]
Fix ssh.c compile