nulltoken
555aa453ba
fileops: Make git_futils_mkdir_r() able to skip non-empty directories
2012-04-10 21:39:05 +02:00
nulltoken
731df57080
Add basic branch management API: git_branch_create(), git_branch_delete(), git_branch_list()
2012-04-10 21:39:03 +02:00
nulltoken
79fd42301e
transport/local: Fix peeling of nested tags
2012-04-10 21:39:01 +02:00
nulltoken
3f46f313cb
tag: Add git_tag_peel() which recursively peel a tag until a non tag git_object is met
2012-04-10 21:38:49 +02:00
Vicent Martí
efef3795a2
Merge pull request #618 from nulltoken/fix/warning
...
Fix compilation warning
2012-04-04 10:37:25 -07:00
Carlos Martín Nieto
31e80290a1
mwindow: make sure the whole range is contained inside the same window
...
Looking through the open windows to check whether we can re-use an
open window should take into account whether both `offset` and `offset
+ extra` are contained within the same window. Failure to do so can
lead to invalid memory accesses. This closes #614 .
While we're in the area remove an outdated assert.
2012-04-04 16:26:08 +02:00
nulltoken
17bd6de3fb
Fix MSVC "unreferenced local variable" compilation warning.
2012-04-04 13:59:58 +02:00
Carlos Martín Nieto
8e8b6b01f5
Clean up valgrind warnings
2012-04-04 13:13:43 +02:00
Vicent Martí
bbb3723657
clar: Properly create file in helper
2012-04-04 01:31:29 +02:00
Vicent Martí
a12c291b54
Merge pull request #617 from schu/tests-fixup
...
tests-clar: cleanup
2012-04-03 04:03:47 -07:00
schu
13ed29664f
tests-clar/index: actually assert result
...
Signed-off-by: schu <schu-github@schulog.org>
2012-04-03 11:09:39 +02:00
schu
a912ea3f9d
tests-clar/object: remove unused helper print_tree()
...
Signed-off-by: schu <schu-github@schulog.org>
2012-04-03 11:08:23 +02:00
schu
daa22dee28
tests-clar/commit: fix memory leaks
...
Signed-off-by: schu <schu-github@schulog.org>
2012-04-03 11:07:04 +02:00
Vicent Martí
471bb8b120
tests: Cleanup & fix test suite
2012-04-03 04:52:52 +02:00
Vicent Martí
2ec83ff09d
Merge pull request #596 from nulltoken/fix/non-7bit-ascii-reference-names
...
Allow references to bear non-7bit-ascii names on Windows
2012-04-02 17:25:05 -07:00
Vicent Martí
16eaa15059
Merge pull request #606 from benstraub/t04_commit_to_clar
...
Ported t04_commit.c to Clar.
2012-04-02 17:24:16 -07:00
Vicent Martí
4cba39ac58
Merge pull request #615 from benstraub/port-all-tests-to-clar
...
Port all tests to clar
2012-04-02 17:23:17 -07:00
Vicent Martí
5afe95d206
travis: Change notify email
2012-04-02 20:45:04 +02:00
Vicent Martí
73fe6a8e20
error-handling: Commit (WIP)
2012-04-02 20:41:48 +02:00
Vicent Martí
34a064d962
Merge pull request #616 from drahosp/development
...
Travis-CI integration
2012-04-02 11:41:15 -07:00
Peter Drahoš
f9abcbdf53
Initial Travis CI build
2012-04-02 00:33:01 +02:00
Peter Drahoš
37029314d4
Added Travis CI build status
2012-04-02 00:32:47 +02:00
Peter Drahoš
3433a69954
Removed my duplicate entry
2012-04-02 00:32:21 +02:00
nulltoken
09719c500c
reference: Fix creation of references with extended ASCII characters in their name
2012-04-01 14:33:32 +02:00
Ben Straub
b173121555
Simple readability fixes.
2012-03-31 20:12:29 -07:00
Ben Straub
20ec426dde
Discovered cl_git_strequal! Mounted a crusade!
2012-03-31 19:47:59 -07:00
Ben Straub
fd29cd13b7
Moved testing resources to clar, and removed old tests directory.
...
Removed the BUILD_CLAR CMake flag, and updated the readme.
2012-03-31 16:10:01 -07:00
Ben Straub
270303ca7a
Moved more assertions inside Clar test helpers.
2012-03-31 15:51:35 -07:00
Ben Straub
9297b6e0a1
Removing test suites that have been ported to Clar:
...
* t00 / 6e86fb3 (mentioned in #406 )
* t01 / fc60c4a (mentioned in #406 )
* t03 / bcbabe6
* t04 / PR #606
* t05 / d96f2c3
* t06 / 6c106ee
* t07 / 2ef582b
* t08 / b482c42
* t09 / 9a39a36
* t10 / 00a4893
* t12 / 7c3a4a7
* t13 / 1cb9b31
* t17 / cdaa6ff (mentioned in #406 )
* t18 / efabc08
2012-03-31 14:15:18 -07:00
Ben Straub
8e82600e67
Ref normalization test helpers now doing internal asserts.
2012-03-31 14:14:31 -07:00
Vicent Martí
9273399bdb
Merge pull request #610 from arrbee/status-rewrite
...
Rewrite status using diff
2012-03-31 08:23:37 -07:00
Russell Belfer
952f94c8ab
Fix bug when join_n refers to original buffer
...
There was a bug in git_buf_join_n when the contents of the
original buffer were joined into itself and the realloc
moved the pointer to the original buffer.
2012-03-30 14:42:23 -07:00
Russell Belfer
95dfb031f7
Improve config handling for diff,submodules,attrs
...
This adds support for a bunch of core.* settings that affect
diff and status, plus fixes up some incorrect implementations
of those settings from before. Also, this cleans up the
handling of config settings in the new submodules code and
in the old attrs/ignore code.
2012-03-30 14:40:50 -07:00
Ben Straub
1cb9b31e51
t13-threads.c ported.
2012-03-30 13:05:54 -07:00
Ben Straub
7c3a4a7f07
t12-repo.c ported, although kind of messy.
...
It'd be nice to be rid of all the #define's, but converting to const
char*'s would be even messier, and less declarative.
2012-03-30 12:26:39 -07:00
Ben Straub
00a48934f1
t10-refs.c ported.
2012-03-30 12:05:42 -07:00
Ben Straub
dde61de6bc
Fixed linux build/test issues.
2012-03-30 12:05:41 -07:00
Ben Straub
6bb7499312
Moved tag tests to object suite.
2012-03-30 12:05:40 -07:00
Ben Straub
9a39a36424
t09-tree.c ported.
2012-03-30 12:05:39 -07:00
Ben Straub
9f75a9ce78
Turning on runtime checks when building debug under MSVC.
2012-03-30 12:05:39 -07:00
Ben Straub
23cb35fe8c
Added Clar build-flag note to readme.
2012-03-30 12:05:38 -07:00
Ben Straub
2df029ed9b
Cleaned up build issues under Linux. Had to disable a file-mode check
...
in tag/write.c.
2012-03-30 12:05:37 -07:00
Ben Straub
b482c420e9
t08_tag.c ported.
...
Also cleaned up some names for things that used to be macros.
2012-03-30 12:05:36 -07:00
Ben Straub
2ef582b457
t07_hashtable.c ported.
2012-03-30 12:05:35 -07:00
Ben Straub
6c106eeceb
t06_index.c ported.
2012-03-30 12:05:34 -07:00
Ben Straub
bcbabe6181
t03_objwrite.c ported.
2012-03-30 12:05:33 -07:00
Russell Belfer
bfc9ca595a
Added submodule API and use in status
...
When processing status for a newly checked out repo, it is
possible that there will be submodules that have not yet been
initialized. The only way to distinguish these from untracked
directories is to have some knowledge of submodules. This
commit adds a new submodule API which, given a name or path,
can determine if it appears to be a submodule and can give
information about the submodule.
2012-03-28 16:45:36 -07:00
Vicent Martí
181bbf1498
tree: Fix homing entry search
2012-03-28 19:12:13 +02:00
Russell Belfer
277e304149
Fix handling of submodules in trees
2012-03-26 11:22:27 -07:00
Russell Belfer
1db12b0053
Eliminate hairy COITERATE macro
...
I decided that the COITERATE macro was, in the end causing
more confusion that it would save and decided just to write
out the loops that I needed for parallel diff list iteration.
It is not that much code and this just feels less obfuscated.
2012-03-25 23:04:26 -07:00