- 06 May, 2013 7 commits
-
-
Currently git_branch_set_upstream when passed a local branch creates invalid configuration, for ex. if we setup branch 'tracking_master' to track local 'master' libgit2 generates the following config ``` [branch "track_master"] remote = . merge = .refs/heads/track_master ``` The merge value is invalid and calling git_branch_upstream on 'tracking_master' results in invalid reference error. It should do: ``` [branch "track_master"] remote = . merge = refs/heads/master ```
Nikolai Vladimirov committed -
p_stat() should follow symlinks on windows
Vicent Martí committed -
Make sure error messages are set for most error returns
Vicent Martí committed -
By default do not set tagopt when cloning
Vicent Martí committed -
allow checkout to proceed when a dir to be removed is in use (win32)
Vicent Martí committed -
branch.h: fix typo in docs
Russell Belfer committed -
Nikolai Vladimirov committed
-
- 05 May, 2013 3 commits
-
-
Strict/lax commit API
Russell Belfer committed -
nulltoken committed
-
nulltoken committed
-
- 04 May, 2013 3 commits
-
-
Edward Thomson committed
-
Jameson Miller committed
-
Peeling to an invalid type is now checked via an assert so this test is no longer relevant.
Russell Belfer committed
-
- 03 May, 2013 5 commits
-
-
Edward Thomson committed
-
Vicent Marti committed
-
Vicent Marti committed
-
fix some leaks
Vicent Martí committed -
Edward Thomson committed
-
- 02 May, 2013 20 commits
-
-
braces
Vicent Martí committed -
Edward Thomson committed
-
puns are not funny; type punning especially so
Vicent Martí committed -
Edward Thomson committed
-
Russell Belfer 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 2 commits
-
-
Russell Belfer committed
-
Russell Belfer committed
-