- 03 Aug, 2015 7 commits
-
-
Michael Procter committed
-
Error messages that are detached are assumed to be dynamically allocated. Passing a pointer to the static oom error message can cause an attempt to free the static buffer later. This change checks if the oom error message is about to be detached and detaches a copy instead.
Michael Procter committed -
Michael Procter committed
-
filebuf: remove lockfile upon rename errors
Edward Thomson committed -
index: stage an unregistered submodule as well
Edward Thomson committed -
Handle ssh:// and git:// urls containing a '~' character.
Carlos Martín Nieto committed -
For such a path '/~/...' the leading '/' is stripped so the server will get a path starting with '~' and correctly handle it.
Simon committed
-
- 01 Aug, 2015 4 commits
-
-
We previously added logic to `_add_bypath()` to update a submodule. Go further and stage the submodule even if it's not registered to behave like git.
Carlos Martín Nieto committed -
When we pass the path of a repository to `_bypath()`, we should behave like git and stage it as a `_COMMIT` regardless of whether it is registered a a submodule.
Carlos Martín Nieto committed -
Linquize committed
-
Resolve documentation warnings
Carlos Martín Nieto committed
-
- 31 Jul, 2015 2 commits
-
-
Remove extra semicolon outside of a function
Edward Thomson committed -
Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function.
Stefan Widgren committed
-
- 29 Jul, 2015 3 commits
-
-
iterator: skip over errors in diriter init
Edward Thomson committed -
case-insensitive check for WWW-Authenticate header
Edward Thomson committed -
Fixes issue #3338
Anders Borum committed
-
- 28 Jul, 2015 3 commits
-
-
Ben Chatelain committed
-
Ben Chatelain committed
-
Ben Chatelain committed
-
- 27 Jul, 2015 3 commits
-
-
Ben Chatelain committed
-
Ben Chatelain committed
-
We don't want the iterator to make us stop whenever we hit an unreadable dir. We should instead move over to the next item.
Carlos Martín Nieto committed
-
- 26 Jul, 2015 1 commit
-
-
An error here will typically mean that the directory was removed between the time we iterated the parent and the time we wanted to visit it in which case we should ignore it. Other kinds of errors such as permissions (or transient errors) also better dealt with by pretending we didn't see it.
Carlos Martín Nieto committed
-
- 24 Jul, 2015 6 commits
-
-
When we have an error renaming the lockfile, we need to make sure that we remove it upon cleanup. For this, we need to keep track of whether we opened the file and whether the rename succeeded. If we did create the lockfile but the rename did not succeed, we remove the lockfile. This won't protect against all errors, but the most common ones (target file is open) does get handled.
Carlos Martín Nieto committed -
When we fail to rename, we currently leave the lockfile laying around. This shows that behaviour.
Carlos Martín Nieto committed -
Normalize submodule urls before looking at them
Edward Thomson committed -
Allow adding a submodule through git_index_add_bypath
Edward Thomson committed -
refdb: delete a ref's reflog upon deletion
Edward Thomson committed -
filter: make sure to close the stream even on error
Edward Thomson committed
-
- 23 Jul, 2015 1 commit
-
-
Make libgit2 work on Windows Vista again
Edward Thomson committed
-
- 22 Jul, 2015 4 commits
-
-
Increment `git__n_inits` before doing `init_once`.
Josh Abernathy committed -
joshaber committed
-
Fixes #3318.
joshaber committed -
(fixes issue #3316) Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 20 Jul, 2015 2 commits
-
-
Document git_fetch_options struct and fix typo.
Carlos Martín Nieto committed -
git_fetch_options was missing from the API docs because it lacked a documentation comment above the struct declaration. I used the git_checkout_options docstring as a template. Also fixes a typo in git_remote_prune_refs (remote, not reamote).
Ryan Roden-Corrent committed
-
- 15 Jul, 2015 2 commits
-
-
Fix macro redefinition warning
Edward Thomson committed -
Fallso committed
-
- 13 Jul, 2015 2 commits
-
-
List a submodule only once when the path matches a submodule in the index
Carlos Martín Nieto committed -
Extract the backslash-to-slash conversion into a helper function.
Carlos Martín Nieto committed
-