- 11 May, 2013 9 commits
-
-
If the backend doesn't provide support for it, the matching is done in refdb on top of a normal iterator.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Selecting wether to list loose or packed references is not something we want to support anymore, so remove a test for this.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
This allows us to get a list of reference names in a loop instead of callbacks.
Carlos Martín Nieto committed
-
- 03 May, 2013 3 commits
-
-
Vicent Marti committed
-
fix some leaks
Vicent Martí committed -
Edward Thomson committed
-
- 02 May, 2013 19 commits
-
-
braces
Vicent Martí committed -
Edward Thomson committed
-
puns are not funny; type punning especially so
Vicent Martí committed -
Edward Thomson committed
-
Switch to index_version as "git_pack_file is ready" flag
Vicent Martí committed -
We use p->index_map.data to check whether the struct has been set up and all the information about the index is stored there. This variable gets set up halfway through the setup process, however, and a thread can come along and use fields that haven't been written to yet. Crucially, pack_entry_find_offset() needs to read the index version (which is written after index_map) to know the offset and stride length to pass to sha1_entry_pos(). If these values are wrong, assertions in it will fail, as it will be reading bogus data. Make index_version the last field to be written and switch from using p->index_map.data to p->index_version as "git_pack_file is ready" flag as we can use it to know if every field has been written.
Carlos Martín Nieto committed -
refdb_fs: do not require peeled packed refs to be tags
Vicent Martí committed -
We only set our negative flag for PEELING_FULL; we can fall back to the lesser PEELING_STANDARD if our ref is in the refs/tags/ hierarchy.
Jeff King committed -
Vicent Marti committed
-
This makes parsing easier! :p
Vicent Marti committed -
Fixes #1532
Vicent Marti committed -
Vicent Marti committed
-
This reverts commit 8c535f3f.
Carlos Martín Nieto committed -
Older versions of git would only write peeled entries for items under refs/tags/. Newer versions will write them for all refs, and we should be prepared to handle that.
Jeff King committed -
More packfile locking
Vicent Martí committed -
There is an occasional assertion failure in sha1_entry_pos from pack_entry_find_index when running threaded. Holding the mutex around the code that grabs the index_map data and processes it makes this assertion failure go away.
Russell Belfer committed -
Russell Belfer committed
-
We need to hammer the packfile open phase harder in the thread tests, in addition to the cache API.
Russell Belfer committed -
We were still seeing a few issues in threaded access to packs. This adds extra locks around the opening of the mwindow to avoid a different race.
Russell Belfer committed
-
- 01 May, 2013 7 commits
-
-
allow empty dirs to exist when doing checkout
Russell Belfer committed -
Vicent Marti committed
-
Edward Thomson committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Merge trees
Vicent Martí committed -
Namespace support
Vicent Martí committed
-
- 30 Apr, 2013 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-