Vicent Martí
17ef7dbce4
Merge pull request #1626 from ethomson/index_ext_truncation
...
improve test for index extension truncation
2013-05-31 09:51:53 -07:00
Edward Thomson
8c2458bea6
improve test for index extension truncation
2013-05-31 11:41:33 -05:00
Vicent Martí
8d863aa205
Merge pull request #1621 from NHDaly/clone_transport_flags
...
Added support for setting transport flags (No check SSL cert) to git_clo...
2013-05-31 06:01:59 -07:00
Nathan Daly
883929144d
Added support for setting transport flags (No check SSL cert) to git_clone call.
2013-05-31 08:53:22 -04:00
Vicent Martí
9afc59710e
Merge pull request #1559 from carlosmn/ref-shorthand
...
Introduce git_reference_shorthand
2013-05-31 03:09:38 -07:00
Vicent Martí
af2c72d228
Merge pull request #1623 from yorah/fix/tag_auto
...
remote: make default tag retrieving behaviour consistent
2013-05-31 03:08:48 -07:00
Vicent Martí
9d6d809b7f
Merge pull request #1530 from veeti/http-parser
...
Build with the system's http-parser installation if available
2013-05-31 03:06:07 -07:00
Vicent Marti
1ed356dcfe
Frees
2013-05-30 21:04:28 +02:00
Veeti Paananen
7a6e0281c6
Build with the system's http-parser installation if available
2013-05-30 21:14:05 +03:00
yorah
df50512aeb
Proposal to handle default value (auto = 0)
2013-05-30 18:06:54 +02:00
yorah
215af2ccb8
remote: make default tag retrieving behaviour consistent
...
Default for newly created remotes will be auto.
Default when loading existing remotes with no tag retrieving behaviour set, was already auto.
2013-05-30 17:59:11 +02:00
Ben Straub
b2984e8aac
Merge pull request #1622 from yorah/fix/thread-segfault
...
thread: fix segfault on Windows 64 bits
2013-05-30 08:43:14 -07:00
Vicent Marti
979f75d8e1
Refcounting
2013-05-30 17:19:43 +02:00
yorah
d17db2fd77
thread: fix segfault on Windows 64 bits
...
`lpExitCode` is a pointer to a long. A long is 32 bits wide on Windows.
It means that on Windows 64bits, `GetExitCodeThread()` doesn't set/clear the high-order bytes of the 64 bits memory space pointed at by `value_ptr`.
2013-05-30 11:45:11 +02:00
Vicent Marti
4e6e2ff26f
...Aaaand this works
2013-05-30 03:47:10 +02:00
Russell Belfer
0c01f93e8c
Merge pull request #1619 from ethomson/gitignore_slash
...
allow (ignore) bare slash in gitignore
2013-05-29 14:50:24 -07:00
Edward Thomson
2d160ef782
allow (ignore) bare slash in gitignore
2013-05-29 16:26:25 -05:00
Vicent Marti
ec24e54296
What are the chances, really
2013-05-29 22:47:37 +02:00
Vicent Martí
17776314c8
Merge pull request #1617 from arrbee/fix-oid-memory-leak
...
Fix memory leak in oid shortener tests
2013-05-29 09:55:51 -07:00
Russell Belfer
ca9b1702ab
Fix memory leak in oid shortener tests
2013-05-29 09:18:21 -07:00
Edward Thomson
504a4fd140
Merge pull request #1615 from arthurschreiber/patch-1
...
Fix two typos in the merge docs.
2013-05-28 14:12:55 -07:00
Arthur Schreiber
31a6118175
Fix two typos in the merge docs.
2013-05-29 00:02:26 +03:00
Vicent Marti
56960b8396
Liike this
2013-05-28 20:47:55 +02:00
Vicent Marti
2638a03aff
This refs iterator pleases the gods.
2013-05-28 17:50:47 +02:00
Russell Belfer
9007c53fae
Fixing unwrapped calloc
2013-05-27 16:45:22 -07:00
Vicent Martí
8baca134cc
Merge pull request #1614 from schu/packbuilder-write
...
packbuilder: also write index in git_packbuilder_write
2013-05-27 06:15:28 -07:00
Michael Schubert
563c19a9ce
packbuilder: also write index in git_packbuilder_write
...
git_packbuilder_write() used to write a packfile to the passed file
path. Instead, ask for a destination directory and create both the
packfile and an index, as most users probably do expect.
2013-05-27 13:41:09 +02:00
Vicent Martí
63908cee27
Merge pull request #1613 from schu/transport-ssh
...
tests: don't verify SSH unsupported with GIT_SSH
2013-05-27 03:24:52 -07:00
Michael Schubert
0582ae6fde
tests: don't verify SSH unsupported with GIT_SSH
2013-05-27 12:12:27 +02:00
Russell Belfer
5aee96329a
Merge pull request #1612 from drodriguez/fix-branch-delete-docs
...
Fix documentation of git_branch_delete.
2013-05-26 08:45:30 -07:00
Daniel Rodríguez Troitiño
f8bd730cd9
Fix documentation of git_branch_delete.
...
The reference should be freed by the user, not the library.
2013-05-26 17:29:00 +02:00
Vicent Martí
0d77647adc
Merge pull request #1609 from ethomson/qsort_r_glibc
...
qsort_r appeared in glibc 2.8
2013-05-25 09:45:02 -07:00
Edward Thomson
c37fb41ae0
qsort_r appeared in glibc 2.8
2013-05-25 12:35:55 -04:00
Vicent Martí
85281328be
Merge pull request #1608 from arrbee/various-cleanups-and-tweaks
...
Various cleanups and tweaks
2013-05-24 11:39:56 -07:00
Russell Belfer
7a5ee3dc92
Add ~ expansion to global attributes and excludes
...
This adds ~/ prefix expansion for the value of core.attributesfile
and core.excludesfile, plus it fixes the fact that the attributes
cache was holding on to the string data from the config for a long
time (instead of making its own strdup) which could have caused a
problem if the config was refreshed. Adds a test for the new
expansion capability.
2013-05-24 11:09:04 -07:00
Russell Belfer
d20b044961
Clarify GIT_DIFF_INCLUDE_UNTRACKED_CONTENT option
...
This improves the docs for GIT_DIFF_INCLUDE_UNTRACKED_CONTENT as
well as the other flags related to UNTRACKED items in diff, plus
it makes that flag now automatically turn on
GIT_DIFF_INCLUDE_UNTRACKED which seems like a reasonable dwim type
of change.
2013-05-24 10:37:40 -07:00
Russell Belfer
16adc9fade
Typedef git_config_level_t and use it everywhere
...
The GIT_CONFIG_LEVEL constants actually work well as an enum
because they are mutually exclusive, so this adds a typedef to
the enum and uses that everywhere that one of these constants are
expected, instead of the old code that typically used an unsigned
int.
2013-05-24 10:35:58 -07:00
Russell Belfer
2e62e7c23c
Docs for git_libgit2_opts and cache disable tweak
...
This adds docs for the cache control options to git_libgit2_opts
and also tweaks the cache code so that if the cache is disabled,
then the next time we attempt to insert something into the cache
in question, we will actually clear any old cached objects.
2013-05-24 10:33:41 -07:00
Russell Belfer
0f1f9833cf
Add typedefs on some public enums
...
Apparently this makes things easier to bind in some languages.
2013-05-24 10:32:07 -07:00
Russell Belfer
5e57cfa1b3
Merge pull request #1607 from ethomson/hurd
...
qsort_r is broken on HURD, avoid
2013-05-24 09:12:17 -07:00
Vicent Martí
4bc67efd74
Merge pull request #1605 from ethomson/replace_reuc_fix
...
Cherry picking REUC fixes
2013-05-24 05:36:23 -07:00
Russell Belfer
43efc4493d
Ensure reuc vector is always valid
...
In theory, if there was a problem reading the REUC data, the
read_reuc() routine could have left uninitialized and invalid
data in the git_index vector. This moves the line that inserts a
new entry into the vector down to the bottom of the routine so we
know all the content is already valid. Also, per @linquize, this
uses calloc to ensure no uninitialized data.
2013-05-24 07:11:22 -05:00
Edward Thomson
25a899ec84
qsort_r is broken on HURD, avoid
2013-05-24 10:32:26 +00:00
Vicent Martí
26ab6284b2
Merge pull request #1593 from ethomson/conflict_iterator
...
introduce git_conflict_iterator
2013-05-24 03:30:35 -07:00
Vicent Martí
f7ceef06eb
Merge pull request #1592 from ethomson/merge_setup
...
merge setup
2013-05-24 03:24:27 -07:00
Vicent Martí
4811c1500b
Merge pull request #1603 from ben/shallow
...
Shallow-clone detection
2013-05-24 01:14:52 -07:00
Vicent Martí
30caf0cf29
Merge pull request #1595 from arrbee/even-more-rename-fixes
...
Even more rename detection fixes
2013-05-24 01:13:48 -07:00
Vicent Martí
87a56fe015
Merge pull request #1604 from arrbee/config-file-checks
...
Extend checking for config with no files
2013-05-24 00:44:50 -07:00
Ben Straub
6f0b8142e6
Stop leaking memory
2013-05-23 17:28:52 -07:00
Russell Belfer
0700ca1a74
More config code checks and cleanups
2013-05-23 16:11:53 -07:00