|
db4bb415
|
2013-02-07T14:53:52
|
|
Teach refspec to transform destination reference to source reference
|
|
2e3e8c88
|
2013-02-08T11:05:47
|
|
Teach remote branch to return its remote
|
|
ff9df883
|
2013-02-08T14:27:21
|
|
Fix Windows symlinks
|
|
f3e49210
|
2013-02-08T10:02:37
|
|
Merge pull request #1249 from yorah/topic/diff-notify-unmatched-pathspecs
diff: Add a callback to notify of diffed files
|
|
5b62eb7d
|
2013-02-08T02:50:23
|
|
Merge pull request #1325 from SHyx0rmZ/fix-windows-symlinks
Fix Windows symlinks
|
|
7672c8c7
|
2013-02-08T11:29:23
|
|
Moved braces to conform to code style
|
|
64012fdb
|
2013-02-08T03:24:45
|
|
Replace LoadLibrary with GetModuleHandle, since kernel32 is loaded by default
As requested
|
|
a49e5bed
|
2013-02-08T01:26:04
|
|
Replace call to strnlen with call to strlen
|
|
f88885e3
|
2013-02-08T01:10:03
|
|
Include <string.h>
|
|
3b5e44ae
|
2013-02-08T00:50:20
|
|
Fix call to readlink
|
|
0d64ba48
|
2013-01-25T17:35:46
|
|
diff: add a notify callback to `git_diff__from_iterators`
The callback will be called for each file, just before the `git_delta_t` gets inserted into the diff list.
When the callback:
- returns < 0, the diff process will be aborted
- returns > 0, the delta will not be inserted into the diff list, but the diff process continues
- returns 0, the delta is inserted into the diff list, and the diff process continues
|
|
943700ec
|
2013-01-18T16:37:13
|
|
Return the matched pathspec pattern in `git_pathspec_match_path`
Instead of returning directly the pattern as the return value, I used an
out parameter, because the function also tests if the passed pathspecs
vector is empty. If yes, it considers that the path "matches", but in
that case there is no matched pattern per se.
|
|
41713ec1
|
2013-02-07T10:13:24
|
|
Merge pull request #1322 from phkelley/development
No bitfields in public headers b/c packing is compiler-specific
|
|
fcd81bcf
|
2013-02-07T12:47:29
|
|
No bitfields in public headers b/c packing is compiler-specific
|
|
c9459abb
|
2013-02-07T03:12:39
|
|
tests: fix indentation in repo/message.c
|
|
f7b06018
|
2013-02-07T03:04:50
|
|
tests: fix indentation in repo/init.c
|
|
1ca163ff
|
2013-02-07T02:04:17
|
|
tests: fix code style in threads/basic.c
|
|
94ed23f8
|
2013-02-07T01:41:20
|
|
Call p_readlink to determine symlink size
|
|
a35e8709
|
2013-02-06T14:21:28
|
|
Merge pull request #1319 from cscheid/development
removed obsolete reference to api.html
|
|
4f1da3a2
|
2013-02-06T16:55:09
|
|
removed obsolete reference to api.html
|
|
beede432
|
2013-02-06T13:25:43
|
|
Fetchhead: don't expect a tag that isn't there
|
|
169fa384
|
2013-02-06T13:16:13
|
|
Fix fetchhead tests to expect nearly-dangling
|
|
f393d4e8
|
2013-02-06T13:07:56
|
|
Clone: fetch all tags
|
|
fb60d268
|
2013-02-05T06:18:23
|
|
Merge pull request #1315 from nulltoken/development
cMakeList: Prevent MSVCR1x0.dll dependency
|
|
e8670d01
|
2013-02-05T14:32:09
|
|
cMakeList: Prevent MSVCR1x0.dll dependency
Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO
and MINSIZEREL build flavors
Fix #255
|
|
de81aee3
|
2013-02-04T14:49:28
|
|
Merge pull request #1298 from ben/user-at
Handle "user@" prefix for credentials partially included in URLs
|
|
630146bd
|
2013-02-04T13:52:18
|
|
Address feedback
|
|
3261a3e9
|
2013-02-03T08:41:47
|
|
Merge pull request #1307 from nulltoken/fix/revparse_describe
revparse: Lookup branch before described tag
|
|
0e8e5a61
|
2013-02-03T11:44:26
|
|
revparse: Lookup sha before branch
|
|
545b479a
|
2013-02-02T17:36:20
|
|
revparse: Lookup branch before described tag
Fix #1306
|
|
15760c59
|
2013-02-01T19:21:55
|
|
Use malloc rather than calloc
|
|
e9631660
|
2013-02-01T15:57:31
|
|
Merge pull request #1303 from csware/win32_consistent_error_encoding
Win32: Make sure error messages are consistently UTF-8 encoded
|
|
c70455c7
|
2013-02-01T22:53:51
|
|
Deduplicate FormatMessage UTF-16 to UTF-8 conversion code
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
bd25a302
|
2013-02-01T22:22:26
|
|
Improved error handling
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
db37d3de
|
2013-02-01T15:37:45
|
|
Merge pull request #1299 from csware/support_local_msysgit_install
Support local msysgit installations
|
|
219571a2
|
2013-02-01T15:31:01
|
|
Merge pull request #1302 from jamill/global_config_lookup
Try harder to find global config file
|
|
89ad1c57
|
2013-02-01T22:14:52
|
|
Get utf8_size from WideCharToMultiByte instead of guessing it
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
b0dc81f0
|
2013-02-01T16:17:34
|
|
Win32: Make sure error messages are consistently UTF-8 encoded
W/o this a libgit2 error message could have a mixed encoding:
e.g. a filename in UTF-8 combined with a native Windows error message
encoded with the local code page.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
91f13a18
|
2013-02-01T14:23:26
|
|
Try harder to find global config file
|
|
c4beee76
|
2013-02-01T10:00:55
|
|
Introduce git__substrdup
|
|
329eee33
|
2013-02-01T09:41:50
|
|
Merge pull request #1286 from lznuaa/master
Fix clone fail if repo head detached
|
|
aa928de0
|
2013-01-29T17:26:42
|
|
Add test case for clone head detached repo
Signed-off-by: Frank Li <lznuaa@gmail.com>
Signed-off-by: nulltoken <emeric.fermas@gmail.com>
|
|
45792c92
|
2013-02-01T10:32:05
|
|
Stick to coding style: Move up braces
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
8c36a3cd
|
2013-01-31T15:24:59
|
|
Remove double-free segfaults
|
|
016179d6
|
2013-01-31T14:54:58
|
|
WinHttp: use cred in url if provided
|
|
54ffc1f7
|
2013-01-31T14:41:01
|
|
HTTP: use creds in url if available
|
|
cd74cbba
|
2013-01-31T14:38:22
|
|
Plug test leaks
|
|
cf7038a6
|
2013-01-31T14:04:21
|
|
Enhance url parsing to include passwords
|
|
7c32a0b5
|
2013-01-31T13:20:20
|
|
Merge pull request #1300 from carlosmn/ref-leading-slash
Crash when resolving a ref starting with "/"
|
|
e5ef0f18
|
2013-01-31T20:23:30
|
|
refs: handle ALLOW_ONELEVEL normalization with leading slash
A leading slash confuses the name normalization code when the flags
include ALLOW_ONELEVEL. Catch this case in particular to avoid
triggering an assertion in the uppercase check which expects us not to
pass it an empty string.
The existing tests don't catch this as they simply use the NORMAL
flag.
This fixes #1300.
|
|
01e7128f
|
2013-01-31T17:44:40
|
|
Added Sven Strickroth to AUTHORS
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
c55378fc
|
2013-01-31T17:43:59
|
|
Detect msysgit installation of users without admin rights
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
ec56af08
|
2013-01-31T17:37:20
|
|
Refactored: Move msysgit registry detection to it's own function
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
7602cb7c
|
2013-01-31T10:44:57
|
|
Add user-from-url param to auth callback
|
|
2234b2b0
|
2013-01-30T19:03:58
|
|
Stash username from url (but don't use it yet)
|
|
5f10853e
|
2013-01-30T18:50:31
|
|
Skip "user@" when finding hostname in url
|
|
5f9f69d9
|
2013-01-30T14:45:12
|
|
Merge pull request #1297 from arrbee/diff-patch-line-totals
Add helper API for diff line stats from patch
|
|
a8182d49
|
2013-01-30T12:24:38
|
|
Let people know that the ML is deprecated
|
|
3bf68be4
|
2013-01-30T11:25:20
|
|
Free buffer at end of test
|
|
f1e2735c
|
2013-01-30T11:10:39
|
|
Add helper for diff line stats
This adds a `git_diff_patch_line_stats()` API that gets the total
number of adds, deletes, and context lines in a patch. This will
make it a little easier to emulate `git diff --stat` and the like.
Right now, this relies on generating the `git_diff_patch` object,
which is a pretty heavyweight way to get stat information. At
some future point, it would probably be nice to be able to get
this information without allocating the entire `git_diff_patch`,
but that's a much larger project.
|
|
d2041216
|
2013-01-29T13:57:53
|
|
Merge pull request #1296 from arrbee/stricter-config-name-checks
Stricter config entry name validation
|
|
ea53203c
|
2013-01-29T13:54:30
|
|
Merge pull request #1295 from carlosmn/obsd
Fix p_realpath on OpenBSD
|
|
4657fc1c
|
2013-01-29T13:54:08
|
|
Merge pull request #1285 from phkelley/vector
Vector improvements and their fallout
|
|
590365db
|
2013-01-29T16:49:12
|
|
Now with no multiply
|
|
501d35cc
|
2013-01-29T12:16:59
|
|
Test config name validation
This is @nulltoken's work to test various invalid config section
and key names and make sure we are validating properly.
|
|
1e7799e8
|
2013-01-29T12:15:18
|
|
Implement config key validation rules
This is a new implementation of core git's config key checking
rules that prevents non-alphanumeric characters (and '-') for
the top-level section and key names inside of config files.
This also validates the target section name when renaming
sections.
|
|
17c92bea
|
2013-01-29T12:13:24
|
|
Test buf join with NULL behavior explicitly
|
|
67fcac56
|
2013-01-29T18:00:32
|
|
Fix p_realpath on OpenBSD
OpenBSD's realpath(3) doesn't require the last part of the path to
exist. Override p_realpath in this OS to bring it in line with the
library's assumptions.
|
|
764b9e71
|
2013-01-28T14:54:19
|
|
Merge pull request #1289 from jwiegley/development
Added git_treebuilder_entrycount
|
|
5fb98206
|
2013-01-28T15:56:04
|
|
Added git_treebuilder_entrycount
Conflicts:
src/tree.c
|
|
96447d24
|
2013-01-28T16:13:19
|
|
Fix 2 bugs in online::push tests.
- Fix stack corruption introduced in 9bccf33c due to passing pointer to
local variable _cred_acquire_called.
- Fix strcmp in do_verify_push_status when expected or actual push_status
is NULL
|
|
e1859ea1
|
2013-01-27T13:15:48
|
|
Merge pull request #1283 from lznuaa/master
Fix local repository clone failure
|
|
11d9f6b3
|
2013-01-27T14:17:07
|
|
Vector improvements and their fallout
|
|
28c3beaa
|
2013-01-27T15:02:06
|
|
Fix fail clone local repo which head detatched
Set head detach if can't found branch after download
Signed-off-by: Frank Li <lznuaa@gmail.com>
|
|
88183c19
|
2013-01-27T13:36:37
|
|
Fix fail clone local repository because can't found object
avoid use object which is already free
Signed-off-by: Frank Li <lznuaa@gmail.com>
|
|
aa3bf89d
|
2013-01-26T15:12:53
|
|
Fix a mutex leak in pack.c
|
|
f42beff7
|
2013-01-25T23:35:04
|
|
Expand valgrind suppressions even more for libssl, libcrypto
|
|
4adb4815
|
2013-01-25T20:37:39
|
|
Merge pull request #1278 from sba1/cl-assert-equal-s
Use cl_assert_equal_s() instead of strcmp().
|
|
28db9f21
|
2013-01-25T20:35:03
|
|
Merge pull request #1281 from phkelley/valgrind
Improve valgrind suppressions
|
|
5026aec2
|
2013-01-25T23:24:13
|
|
Improve valgrind suppressions
|
|
cfc39f50
|
2013-01-25T22:43:52
|
|
Fix 3 memory leaks
|
|
ae386101
|
2013-01-25T12:02:21
|
|
Merge pull request #1279 from carlosmn/config-trailing-backslash
config: support trailing backslashes
|
|
af2c03a7
|
2013-01-25T12:01:36
|
|
Merge pull request #1280 from nulltoken/fix/clone-segfault
clone: Prevent segfault upon faulted remote creation
|
|
9f35754a
|
2013-01-25T13:29:28
|
|
config: support trailing backslashes
Check whether the backslash at the end of the line is being escaped or
not so as not to consider it a continuation marker when it's e.g. a
Windows-style path.
|
|
26ec6a6d
|
2013-01-24T20:38:01
|
|
tests-clar: ifdef GIT_WIN32 win helper functions
|
|
c5193e3c
|
2013-01-25T12:00:27
|
|
clone: Prevent segfault upon faulted remote creation
|
|
a7f8065f
|
2013-01-25T06:48:55
|
|
Use cl_assert_equal_s() instead of strcmp().
Replaced all cl_assert(!strcmp()) or semantically equivalent forms
by cl_assert_equal_s().
|
|
c9e96403
|
2013-01-24T20:45:00
|
|
Merge pull request #1277 from sba1/branch-name
Add git_branch_name()
|
|
c253056d
|
2013-01-24T20:44:17
|
|
Added git_branch_name().
This is a convenience function to get the branch name of a given
ref. The returned branch name is compatible with the name that can
be supplied e.g. to git_branch_lookup(). That is, the prefixes
"refs/heads" or "refs/remotes" are omitted.
Also added a new test for testing the new function.
|
|
5425097f
|
2013-01-24T18:53:08
|
|
index: Speed up loading a tree into the index
The index is empty; repeated tree entries cannot collide.
cc github/gitrpc#83
|
|
2ff4469a
|
2013-01-24T14:04:35
|
|
Leak cleanup in push tests
|
|
3fbd7485
|
2013-01-24T11:03:11
|
|
Merge pull request #1250 from jamill/push_update_tips
Update remote tips on push
|
|
ef4ef36e
|
2013-01-23T15:55:29
|
|
Merge pull request #1275 from ethomson/examples_windows
update examples to work on windows
|
|
c27e2112
|
2013-01-23T17:38:00
|
|
update examples to work on windows
|
|
0d52cb4a
|
2013-01-24T00:09:55
|
|
opts: Some basic tests
|
|
a0f777c8
|
2013-01-23T23:44:34
|
|
opts: Add getters too
|
|
586f71ef
|
2013-01-22T23:03:53
|
|
Merge pull request #1273 from sba1/example-diff-fix
Don't clear the opt instance in the diff example.
|
|
75a0a800
|
2013-01-23T07:47:40
|
|
Don't clear the opt instance in the diff example.
The version field is overwritten otherwise. The opt instance is
already initialized properly.
|
|
b101fbf9
|
2013-01-22T18:55:56
|
|
Merge pull request #1271 from libgit2/global-settings
Global options setter
|
|
59853eff
|
2013-01-23T02:58:58
|
|
Global options setter
|