- 07 May, 2013 4 commits
-
-
When a patch contained an eofnl change (i.e. the last line either gained or lost a newline), the oldno and newno line number values for the lines in the last hunk of the patch were not useful. This makes them behave in a more expected manner.
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
This adds a new line origin constant for the special line that is used when both files end without a newline. In the course of writing the tests for this, I was having problems with modifying a file but not having diff notice because it was the same size and modified less than one second from the start of the test, so I decided to start working on nanosecond timestamp support. This commit doesn't contain the nanosecond support, but it contains the reorganization of maybe_modified and the hooks so that if the nanosecond data were being read by stat() (or rather being copied by git_index_entry__init_from_stat), then the nsec would be taken into account. This new stuff could probably use some more tests, although there is some amount of it here.
Russell Belfer committed
-
- 06 May, 2013 6 commits
-
-
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 19 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
-