Vicent Martí
d18713fb4a
Merge pull request #1056 from nulltoken/duplicate-tree-entries
...
Duplicate tree entries
2012-11-10 20:24:53 -08:00
nulltoken
33f95a9b32
index: refine add_from_workdir() error report
2012-11-10 21:01:05 +01:00
nulltoken
69c068c79f
index: make git_index_new() work with a NULL path
2012-11-10 20:42:45 +01:00
nulltoken
7cc1bf0fcb
index: Introduce git_index_has_conflicts()
2012-11-08 21:16:48 +01:00
Vicent Marti
43eeca04a7
index: Fix tests
2012-11-01 20:24:43 +01:00
Edward Thomson
f45ec1a076
index refactoring
2012-10-29 20:04:21 -05:00
nulltoken
0ae81fc479
index: remove read_tree() progress indicator
...
git_index_read_tree() was exposing a parameter to provide the user with
a progress indicator. Unfortunately, due to the recursive nature of the
tree walk, the maximum number of items to process was unknown. Thus,
the indicator was only counting processed entries, without providing
any information how the number of remaining items.
2012-10-19 19:36:22 -07:00
nulltoken
a7dbac0b23
filemode: deploy enum usage
2012-08-21 23:15:10 +02:00
Ben Straub
4bf5115642
Enable stats on git_index_read_tree.
...
Replace with the contents of
git_index_read_tree_with_stats() and improve
documentation comments.
2012-07-30 15:48:06 -07:00
Russell Belfer
da825c92d9
Make index add/append support core.filemode flag
...
This fixes git_index_add and git_index_append to behave more like
core git, preserving old filemode data in the index when adding
and/or appending with core.filemode = false.
This also has placeholder support for core.symlinks and
core.ignorecase, but those flags are not implemented (well,
symlinks has partial support for preserving mode information in
the same way that git does, but it isn't tested).
2012-06-19 14:27:02 -07:00
Vicent Martí
3f0358604e
misc: Fix warnings from PVS Studio trial
2012-06-07 22:43:48 +02:00
Vicent Martí
904b67e69f
errors: Rename error codes
2012-05-18 01:48:50 +02:00
Vicent Martí
e172cf082e
errors: Rename the generic return codes
2012-05-18 01:26:26 +02:00
Vicent Martí
946a6dc4e6
Update test suite
2012-05-02 16:14:30 -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
Vicent Martí
471bb8b120
tests: Cleanup & fix test suite
2012-04-03 04:52:52 +02:00
Ben Straub
20ec426dde
Discovered cl_git_strequal! Mounted a crusade!
2012-03-31 19:47:59 -07:00
Ben Straub
270303ca7a
Moved more assertions inside Clar test helpers.
2012-03-31 15:51:35 -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
6c106eeceb
t06_index.c ported.
2012-03-30 12:05:34 -07:00
Vicent Martí
3fd1520cd4
Rename the Clay test suite to Clar
...
Clay is the name of a programming language on the makings, and we want
to avoid confusions. Sorry for the huge diff!
2012-01-24 20:35:15 -08:00