- 02 Sep, 2014 3 commits
-
-
If the remote does not advertise HEAD, then it is unborn and we cannot checkout that branch. Handle it the same way as an empty repo.
Carlos Martín Nieto committed -
When cloning, we may be asking for a particular branch or subset of branches. Make sure we test for that.
Carlos Martín Nieto committed -
Add tests for the case when there are no branches on the remote and when HEAD is detached but has the id of a non-branch. In both of these cases, we should return ENOTFOUND.
Carlos Martín Nieto committed
-
- 29 Aug, 2014 5 commits
-
-
A repository can have any number of references which we're not interested in such as notes or tags. For the default branch calculation we only care about branches. Make the decision about the number of branches rather than the number of refs in general.
Carlos Martín Nieto committed -
If we do not have a HEAD ref in the heads, we already know there is no default branch. Return immedately.
Carlos Martín Nieto committed -
Assert what we already do, so as to notice changes.
Carlos Martín Nieto committed -
This was added to avoid the remote's default branch to be considered to the be notes one which the first network test leaves behind.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 28 Aug, 2014 3 commits
-
-
Fix ahead-behind results
Vicent Marti committed -
When we see PARENT1, it means there is a local commit and thus we are ahead. Likewise, seeing PARENT2 means that the upstream branch has a commit and we are one more behind. The logic is currently reversed. Correct it. This fixes #2501.
Carlos Martín Nieto committed -
The logic was reversed. I have checked manually each pair with git and adjusted the expectation to what git status prints.
Carlos Martín Nieto committed
-
- 27 Aug, 2014 10 commits
-
-
winhttp: Prevent swallowing of url parsing error
Vicent Marti committed -
Set timeout on remote (Add timeout for WinHttpReceiveResponse #2147)
Vicent Marti committed -
Allow to override default ssh transport_cb - in order to allow third party ssh transports
Vicent Marti committed -
nulltoken committed
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Set timeout on remote (WinHTTP) should return error in case of failure. Connection timeout set to 1 minute. Read/Write timeout remains set to infinite #2147
Rafal Nowosielski committed
-
- 26 Aug, 2014 8 commits
-
-
Refactor git_cache to use an rwlock
Vicent Marti committed -
This significantly reduces contention when many threads are trying to read from the cache simultaneously.
Justin Spahr-Summers committed -
Fix bugs with negative ignores inside an ignored parent directory
Vicent Marti committed -
add Julia to the language bindings list
Vicent Marti committed -
pack: return the correct final offset
Vicent Marti committed -
W/o this patch it is not possible to have a third party ssh transport_cb if GIT_SSH is disabled or a third party transport_cb which has a higher priority than the default one. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
The callers of git_packfile_unpack() expect the obj_offset argument to be set to the beginning of the next object. We were mistakenly returning the the offset of the object's data, which causes the CRC function to try to use the wrong offset. Set obj_offset to curpos instead of elem->offset to point to the next element and bring back expected behaviour.
Carlos Martín Nieto committed -
jake bolewski committed
-
- 25 Aug, 2014 4 commits
-
-
merge base: Correctly raise an error if a non-commit object is passed.
Vicent Marti committed -
Arthur Schreiber committed
-
Allow mkdir helper to skip parent errors
Vicent Marti committed -
Check if the refspec matches before transforming
Vicent Marti committed
-
- 23 Aug, 2014 1 commit
-
-
Rafal Nowosielski committed
-
- 22 Aug, 2014 1 commit
-
-
Our mkdir helper was failing is a parent directory was not accessible even if the child directory could be created. This changes the helper to keep trying child directories even when the parent is unwritable.
Russell Belfer committed
-
- 21 Aug, 2014 1 commit
-
-
Jacques Germishuys committed
-
- 18 Aug, 2014 4 commits
-
-
Export `git_oid_tostr_s` instead of `_allocfmt`
Vicent Marti committed -
This reverts commit 0dc54e14.
Vicent Marti committed -
We don't really use this at all, and it breaks packaging in Windows.
Vicent Marti committed -
The old `allocfmt` is of no use to callers, as they are not able to free the returned buffer. Export a new API that returns a static string that doesn't need to be freed.
Vicent Marti committed
-