|
c6d03c95
|
2012-11-28T18:07:08
|
|
fix coding style: while( -> while (
|
|
0d9e0323
|
2012-11-27T23:27:41
|
|
Add the ahead/behind test that Carlos suggested
Adds a repo with a more complex topology to test the ahead-behind
count.
|
|
eddde618
|
2012-11-27T16:37:11
|
|
Add tests for ahead-behind count
|
|
bff53e54
|
2012-11-27T16:36:50
|
|
Add initial implementation of ahead-behind count
|
|
69302126
|
2012-11-28T04:14:24
|
|
Merge pull request #1109 from scunz/uninitialized
Fix uninitialized variable
|
|
7cdad6c7
|
2012-11-28T12:43:12
|
|
Fix uninitialized variable
clang-SVN HEAD kindly provided my the info, that sm_repo maybe
uninitialized when we want to free it (If the expression in line 358 or
359/360 evaluate to true, we jump to "cleanup", where we'd use sm_repo
uninitialized).
|
|
ae201891
|
2012-11-28T11:47:38
|
|
object: Raise proper code on invalid object type
|
|
9507a434
|
2012-11-28T10:47:10
|
|
odb: Add `git_odb_add_disk_alternate`
Loads a disk alternate by path to the ODB. Mimics the
`GIT_ALTERNATE_OBJECT_DIRECTORIES` shell var.
|
|
64c51121
|
2012-11-27T18:59:22
|
|
Merge pull request #1087 from libgit2/great-renaming
The Great Renaming of 2012
|
|
ca94e031
|
2012-11-27T15:28:48
|
|
Various minor commenting fixes
|
|
c3fb7d04
|
2012-11-27T15:00:49
|
|
Make git_odb_foreach_cb take const param
This makes the first OID param of the ODB callback a const pointer
and also propogates that change all the way to the backends.
|
|
f984d97b
|
2012-11-27T15:00:28
|
|
Clarify git_message_prettify comments
|
|
2bd5998c
|
2012-11-27T14:47:39
|
|
Remove git_note_data structure
|
|
336d1275
|
2012-11-27T14:18:51
|
|
API updates for transport.h
|
|
f4a62c30
|
2012-11-27T14:13:03
|
|
Typedef enums.
|
|
1d8ec670
|
2012-11-27T14:06:56
|
|
API updates for stash.h
|
|
ff6b5ac9
|
2012-11-27T14:03:53
|
|
API updates for signature.h
|
|
44d9f2cb
|
2012-11-27T14:01:24
|
|
API updates for revwalk.h
|
|
c9fc4a6f
|
2012-11-27T13:44:49
|
|
API updates for repository.h
|
|
cb7ac81c
|
2012-11-27T13:30:04
|
|
Fix warning
|
|
df705148
|
2012-11-27T13:15:43
|
|
API updates for remote.h
Includes typedef for git_direction, and renames for
GIT_DIR_[FETCH|PUSH] to GIT_DIRECTION_(\1).
|
|
74f91322
|
2012-11-27T12:45:44
|
|
API updates for oid.h
|
|
0ed67c1c
|
2012-11-27T12:33:58
|
|
API updates for odb_backend.h
|
|
2e76b5fc
|
2012-11-27T09:49:16
|
|
API updates for odb.h
|
|
de5596bf
|
2012-11-26T20:09:38
|
|
API updates for notes.h/c.
|
|
4604a654
|
2012-11-21T11:57:06
|
|
update internal index API to avoid cast
|
|
d574de0e
|
2012-11-21T11:53:54
|
|
API updates for status.h
|
|
9daf2400
|
2012-11-21T11:12:33
|
|
Fixing up some comments in strarray.h
|
|
16248ee2
|
2012-11-21T11:03:07
|
|
Fix up some missing consts in tree & index
This fixes some missed places where we can apply const-ness to
various public APIs.
There are still some index and tree APIs that cannot take const
pointers because we sort our `git_vectors` lazily and so we can't
reliably bsearch the index and tree content without applying a
`git_vector_sort()` first.
This also fixes some missed places where size_t can be used and
where const can be applied to a couple internal functions.
|
|
05a3ab61
|
2012-11-26T20:00:34
|
|
API updates for net.h
|
|
fe55f163
|
2012-11-26T19:56:01
|
|
API updates for message.h
|
|
eac76956
|
2012-11-26T19:53:04
|
|
Format/documentation tweaks for merge.h
|
|
4ff192d3
|
2012-11-26T19:47:47
|
|
Move merge functions to merge.c
In so doing, promote commit_list to git_commit_list,
with its own internal API header.
|
|
839c5f57
|
2012-11-26T12:04:07
|
|
API updates for indexer.h
|
|
a8122b5d
|
2012-11-21T15:39:03
|
|
Fix warnings on Win64 build
|
|
f45d51ff
|
2012-11-20T19:57:46
|
|
API updates for index.h
|
|
d9023dbe
|
2012-11-20T17:06:54
|
|
API updates for tag.h
|
|
9cd42358
|
2012-11-20T16:57:16
|
|
API updates for submodule.h
|
|
793c4385
|
2012-11-20T16:36:06
|
|
Update diff callback param order
This makes the diff functions that take callbacks both take
the payload parameter after the callback function pointers and
pass the payload as the last argument to the callback function
instead of the first. This should make them consistent with
other callbacks across the API.
|
|
54b2a37a
|
2012-11-20T16:02:25
|
|
Clean up config.h
|
|
eecc8050
|
2012-11-20T14:03:05
|
|
Update callback fn ptr for git_reference_foreach
As part of API review, use a typedef for the callback fn ptr.
|
|
e120123e
|
2012-11-20T14:01:46
|
|
API review / update for tree.h
|
|
824cb2d5
|
2012-11-20T12:13:52
|
|
Updates to reset.h
|
|
3f63cc9e
|
2012-11-18T22:20:47
|
|
Examples: fix clone api
|
|
bac695b5
|
2012-11-18T22:20:26
|
|
Examples: fix reference names
|
|
cfbe4be3
|
2012-11-17T19:54:47
|
|
More external API cleanup
Conflicts:
src/branch.c
tests-clar/refs/branches/create.c
|
|
2508cc66
|
2012-11-18T21:38:08
|
|
Rename ref and reflog apis for consistency
|
|
46982781
|
2012-11-26T05:42:49
|
|
Merge pull request #1106 from frasertweedale/fix/freebsd-build
fix build on FreeBSD
|
|
9e9aee67
|
2012-11-26T23:29:34
|
|
fix build on FreeBSD
3f9eb1e introduced support for SSL certificates issued for IP
addresses, making use of in_addr and in_addr6 structs. On FreeBSD
these are defined in (a file included in) <netinet/in.h>, so include
that file on FreeBSD and get the build working again.
|
|
8404f2d6
|
2012-11-26T03:56:25
|
|
Merge pull request #1101 from csware/prevent_die
pack.c: Set p->mwf.fd to -1 on error
|
|
95cd8353
|
2012-11-26T03:53:53
|
|
Merge pull request #1105 from delanne/invalid_read_config_file
Fix invalid read reported by valgrind
|
|
f2696fa4
|
2012-11-26T12:12:41
|
|
Fix invalid read reported by valgrind
|
|
fcb48e06
|
2012-11-24T15:48:17
|
|
Set p->mwf.fd to -1 on error
If p->mwf.fd is e.g. -2 then it is closed in packfile_free and an exception might be thrown.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
c4d8df27
|
2012-11-23T15:19:47
|
|
Merge pull request #1097 from nulltoken/topic/head_tree_error
Make `git_repository_head_tree()` return error codes
|
|
28de452a
|
2012-11-23T15:18:30
|
|
Merge pull request #1093 from libgit2/contributing
Create contributing guidelines
|
|
c9f1658e
|
2012-11-23T15:17:48
|
|
Merge pull request #1098 from scunz/cleanup_in_cleanup
Reset all static variables to NULL in clar's __cleanup
|
|
e226861e
|
2012-11-23T11:33:32
|
|
Merge pull request #1100 from martinwoodward/fuckityfuck
Remove use of English expletives
|
|
826bc4a8
|
2012-11-23T13:31:22
|
|
Remove use of English expletives
Remove words such as fuck, crap, shit etc.
Remove other potentially offensive words from comments.
Tidy up other geopolicital terms in comments.
|
|
9094d30b
|
2012-11-23T11:41:56
|
|
Reset all static variables to NULL in clar's __cleanup
Without this change, any failed assertion in the second (or a later) test
inside a test suite has a chance of double deleting memory, resulting in
a heap corruption. See #1096 for details.
This leaves alone the test cases where we "just" use cl_git_sandbox_init()
and cl_git_sandbox_cleanup(). These methods already take good care to not
double delete a repository.
Fixes #1096
|
|
5cec896a
|
2012-11-22T18:51:06
|
|
repo: Make git_repository_head_tree() return error codes
|
|
a94002a9
|
2012-11-22T18:50:50
|
|
test: Minor fixes
|
|
5cf1b4f0
|
2012-11-22T11:16:35
|
|
Call git_remote_update_tips before git_remote_disconnect
|
|
5d4cdb04
|
2012-11-22T08:10:35
|
|
Merge pull request #1095 from martinwoodward/authors
Update to Authors
|
|
24aec6db
|
2012-11-21T13:42:12
|
|
Rewrite conventions to be more complete
|
|
ee72ffd0
|
2012-11-20T21:04:52
|
|
Markdownize CONVENTIONS
|
|
41b00ccc
|
2012-11-20T20:59:58
|
|
Add contributing guidelines
|
|
54be4d57
|
2012-11-20T15:02:06
|
|
Merge pull request #1092 from arrbee/legal-to-not-have-gitconfig
It is okay to not have a .gitconfig file
|
|
38f7d026
|
2012-11-20T14:50:36
|
|
Need to clear ignored error from config load
|
|
f0ebf82e
|
2012-11-20T11:34:12
|
|
Merge pull request #1089 from edubart/fix_win32_lstat
Fix win32 lstat
|
|
cc6b4162
|
2012-11-20T10:24:18
|
|
It is okay to not have a .gitconfig file
Opening a repo is generating an error if you don't have a
.gitconfig file in your home directory, but that should be
legal.
|
|
cf0dadcf
|
2012-11-20T01:19:31
|
|
Minor optimization in win32 do_lstat
|
|
e566b609
|
2012-11-20T00:57:56
|
|
Update clar tests p_lstat_posixly and p_lstat
|
|
2d96fce2
|
2012-11-19T23:12:20
|
|
update win32 lstat comment
|
|
52ead787
|
2012-11-19T22:30:20
|
|
Fix win32 lstat
|
|
a9069f61
|
2012-11-19T12:11:01
|
|
Merge pull request #1086 from scunz/vs_warning_level
VS-Build: Append C_FLAGS to the end of the already given ones.
|
|
4a03913c
|
2012-11-19T04:48:40
|
|
VS-Build: Disable /W4 parameter, as it is not picked up anyway
My other PR revealed, that the /W4 parameter, we give to MSVC is ignored
because cmake set CMAKE_C_FLAGS already to /W3 and we overwrite it.
The command line tools gave me a D9025 warning for this on every file and
looking into the project properties page on MSVC 2008 tells, that it has
the warning level set to /W3.
However, the warnings introduced by /W4 are far to useless for having
them enabled. So just disable them.
|
|
7a1282f6
|
2012-11-19T11:53:04
|
|
Merge pull request #1085 from scunz/no_pch_for_nmake
Don't use precompiled headers for command-line based VC builds.
|
|
26d9e317
|
2012-11-19T04:40:58
|
|
Don't use precompiled headers for command-line based VC builds.
The reason, why libgit2 currently cannot support compiling via the command-line
tools cl/nmake from WinSDK and/or Microsoft Visual Studio, seems to be a
missing dependency on the generated precompiled header file.
The Visual Studio IDE automatically inserts this dependency when it sees the
right combination of "/Y" parameters.
This patch allows to compile using command line tools by disabling precompiled
headers for NON-IDE builds.
|
|
560cc1e1
|
2012-11-18T17:19:20
|
|
Merge pull request #1084 from libgit2/filename-validation
Filename validation
|
|
1876360f
|
2012-11-18T16:59:42
|
|
Add a test for invalid filenames while writing tree from index
|
|
0d778b1a
|
2012-11-18T16:52:04
|
|
Catch invalid filenames in append_entry()
This prevents the index api from calling write_tree() with a
bogus tree.
|
|
19af78bb
|
2012-11-18T15:15:24
|
|
Prevent creating `..`, `.`, and `.git` with tree builder
As per core git.
|
|
629c0829
|
2012-11-18T14:15:04
|
|
Merge pull request #1082 from scunz/fixDoubleDeleteOnError
Indexer: Avoid a possible double-deletion in error case
|
|
4cc7342e
|
2012-11-18T09:07:35
|
|
Indexer: Avoid a possible double-deletion in error case
|
|
0066955d
|
2012-11-18T04:27:49
|
|
Fix a couple of warnings
|
|
0e9ea5d0
|
2012-11-17T18:42:40
|
|
Merge pull request #1077 from nulltoken/fix/api
Itsy bitsy tiny winy minor api related fixes
|
|
b15df1d9
|
2012-11-17T18:29:51
|
|
reflog: make entry_byindex() and drop() git compliant
Passing 0 as the index now retrieves the most recent entry instead
of the oldest one.
|
|
1a764476
|
2012-11-17T18:24:10
|
|
reflog: Fix documentation
|
|
270160b9
|
2012-11-17T13:39:24
|
|
config: Opening a nonexistent file returns ENOTFOUND
|
|
d36451c9
|
2012-11-17T12:34:15
|
|
config: Make git_config_file__ondisk() internal
|
|
6091457e
|
2012-11-17T07:19:14
|
|
repo: ensure is_empty() checks there are no refs
|
|
f5a0e734
|
2012-11-17T06:46:42
|
|
tests: introduce cl_git_remove_placeholders()
|
|
5df7207a
|
2012-11-17T06:56:19
|
|
repo: readonly tests don't need a sandboxed repo
|
|
0e95e70a
|
2012-11-17T05:22:39
|
|
env: ensure git_futils_find_xxx() returns ENOTFOUND
|
|
aa8a76ef
|
2012-11-17T05:12:14
|
|
tag: rename git_tag_type to git_tag_target_type
|
|
86b9dbc1
|
2012-11-17T04:50:48
|
|
Fix MSVC compilation warnings
|
|
e087973e
|
2012-11-16T10:27:46
|
|
Merge pull request #1075 from carlosmn/alternates-recurse
odb: recursively load alternates
|
|
85e7efa1
|
2012-11-14T13:35:43
|
|
odb: recursively load alternates
The maximum depth is 5, like in git
|
|
0cd063fd
|
2012-11-15T23:28:52
|
|
Merge pull request #1071 from arrbee/alternate-fix-strcmp
Win32 fixes for diff/checkout/reset
|
|
96acc0b6
|
2012-11-16T02:30:00
|
|
AUTHORS: cleanup
|