- 03 Jun, 2011 9 commits
-
-
Repository: Added the git_repository_discover function that finds by itself the git directory that manage a given directory path.
Romain Geissler committed -
Repository: Splitted the repository destructor into a helper part (only free directories path) and the complete public destructor.
Romain Geissler committed -
Repository: Added read_gitfile that allows you to read a .git file and extract the git directory path.
Romain Geissler committed -
retrieve_device returns the file device for a given path (so that we can detect device change while walking through parent directories). abspath returns a canonicalized path, symbolic link free. retrieive_ceiling_directories_offset returns the biggest path offset that path match in the ceiling directory list (so that we can stop at ceiling directories).
Romain Geissler committed -
Added gitfo_creat_locked and gitfo_creat_locked_force
Romain Geissler committed -
Conflicts: src/fileops.c
Romain Geissler committed -
Fixed a Windows TO-DO in the prettifying functions.
unknown committed -
unknown committed
-
Fileops:retrieve_path_root_offset is now named gitfo_retrieve_path_root_offset (like other public functions). Added platform specific directory separator definition.
Romain Geissler committed
-
- 02 Jun, 2011 1 commit
-
-
Fix fake wstream write
Vicent Martí committed
-
- 01 Jun, 2011 23 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Marc Pegon committed
-
Fixed some error messages related to searching objects from a short oid. Fixed forgot to check that prefix length is greater than minimum prefix length in read_unique_short_oid method from pack backend.
Marc Pegon committed -
Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid.
Marc Pegon committed -
Changed return value of git_oid_match to be consistent with the other compare methods (0 means oids match). Added method to compare prefixes of hex formatted oids.
Marc Pegon committed -
Added a GIT_OID_MINPREFIXLEN constant to define the minimum length allowed for oid prefixes (set to 4, like in git). Consequently updated some object lookup methods and their documentation.
Marc Pegon committed -
Implemented find_unique_short_oid for pack backend, based on git sha1 lookup method; finding an object given its full oid is just a particular case of searching the unique object matching an oid prefix (short oid). Added git_odb_read_unique_short_oid, which iterates over all the backends to find and read the unique object matching the given oid prefix. Added a git_object_lookup_short_oid method to find the unique object in the repository matching a given oid prefix : it generalizes git_object_lookup which now does nothing but calls git_object_lookup_short_oid.
Marc Pegon committed -
Added error for ambiguous oid prefixes. Added methods to compare the first nth hexadecimal characters (i.e. packets of 4 bits) of OIDs.
Marc Pegon committed -
Added a read_unique_short_oid method to backends, to make it possible to find objects from sha1 prefixes in the future. Default implementations throw GIT_ENOTIMPLEMENTED for strict prefixes (i.e. length < GIT_OID_HEXSZ).
Marc Pegon committed -
Fix tag and signature parsing
Vicent Martí committed -
Fix typos
Vicent Martí committed -
test_lib.c: flush stdout after every test-run
Vicent Martí committed -
Plug a leak in the index unmerged entries vector
Vicent Martí committed -
Config bugfix
Vicent Martí committed -
Add git_repository_is_bare() accessor
Vicent Martí committed -
Vicent Marti committed
-
A TREE extension with an entry count of -1 means that it was invalidated and we should ignore it. Do so instead of returning an error. This fixes issue #202 Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
There are two reasons why read_tree_internal might return a NULL tree. The first one is a corrupt index, but the second one is an invalidated TREE extension. Up to now, its only way to communicate with its caller was through the return value being NULL or not. Allow read_tree_internal to report its exit status independently from the tree pointer. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
The `git_repository_index` call now returns a brand new index that must be manually free'd.
Vicent Marti committed -
Vicent Marti committed
-
- 31 May, 2011 7 commits
-
-
Before this commit, malformed tag and signature were considered as valid by the parser. See the test t3800-mktag.sh of git to see example of malformed tag and signature.
David Glesser committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Nothing is allowed betwen the closing quotation mark and the ] so return an error if there is. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Also free the subsection if we find too many quotes Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-