- 15 Oct, 2012 11 commits
-
-
To answer if a single given file should be ignored, the path to that file has to be processed progressively checking that there are no intermediate ignored directories in getting to the file in question. This enables that, fixing the broken old behavior, and adds tests to exercise various ignore situations.
Russell Belfer committed -
Because fnmatch uses recursion, there were some input sequences that cause seriously degenerate behavior. This imports a fix that imposes a max recursion limiter to avoid the worst of it.
Russell Belfer committed -
Russell Belfer committed
-
reset: prevent hard reset in a bare repository
Ben Straub committed -
nulltoken committed
-
nulltoken committed
-
Test category for live network tests
Vicent Martí committed -
Ben Straub committed
-
Split the clone tests into network and no-network suites.
Ben Straub committed -
Also introduce the slective ref trimming promised but also missed in the previous commit.
Carlos Martín Nieto committed -
We used to require loose references to contain only an OID (possibly after trimming the string). This is however not enough for letting us lookup FETCH_HEAD, which can have a lot of content after the initial OID. Change the parsing rules so that a loose refernce must e at least 40 bytes long and the 41st (if it's there) must be accepted by isspace(3). This makes the trim unnecessary, so only do it for symrefs. This fixes #977.
Carlos Martín Nieto committed
-
- 14 Oct, 2012 1 commit
-
-
Philip Kelley committed
-
- 11 Oct, 2012 7 commits
-
-
Enforce returning of EEXISTS when trying to overwrite a reference
Ben Straub committed -
Add link to D libgit2 bindings.
Vicent Martí committed -
Andrej Mitrovic committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
- 10 Oct, 2012 4 commits
-
-
Also tell ctest and valgrind to run libgit2_clar with '-iall' so we run the network tests in travis.
Carlos Martín Nieto committed -
Add git_buf_put_base64 to buffer API
Vicent Martí committed -
The fix for fetching from empty repositories (22935b06 protocol: don't store flushes; 2012-10-07) forgot to take into account the deletion of the flush pkt in the HTTP transport. As a result, the HEAD ref advertisement where we detect the remote's capabilities was deleted instead. Fix this.
Carlos Martín Nieto committed -
Russell Belfer committed
-
- 09 Oct, 2012 13 commits
-
-
Russell Belfer committed
-
Russell Belfer committed
-
[GSoC] RFC: pack objects
Vicent Martí committed -
Use khash instead of git.git's hashing algorithm.
Michael Schubert committed -
Michael Schubert committed
-
Michael Schubert committed
-
Michael Schubert committed
-
Michael Schubert committed
-
Michael Schubert committed
-
Michael Schubert committed
-
Michael Schubert committed
-
Diff submodule tests and fixes
Vicent Martí committed -
* tests-clar/status: remove an unused variable * clone: fix -Wmaybe-uninitialized warning
Michael Schubert committed
-
- 08 Oct, 2012 4 commits
-
-
Deploy git_repository_set_head()
Ben Straub committed -
The adds a test for the submodule diff capabilities and then fixes a few bugs with how the output is generated. It improves the accuracy of OIDs in the diff delta object and makes the submodule output more closely mirror the OIDs that will be used by core git.
Russell Belfer committed -
Russell Belfer committed
-
There are a few cases where diff should leave directories in the diff list if we want to match core git, such as when the directory contains a .git dir. That feature was lost when I introduced some of the new submodule handling. This restores that and then fixes a couple of related to diff output that are triggered by having diffs with directories in them. Also, this adds a new flag that can be passed to diff if you want diff output to actually include the file content of any untracked files.
Russell Belfer committed
-