diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2017-05-01 15:23:54 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2017-05-01 15:23:54 +0100 |
| commit | f86f35d691a3ed901d96e800dbff9281155342f3 (patch) | |
| tree | 4d85b9cb6c654d861c119da5fb6685af147e33e1 /src | |
| parent | f9921ad7c962adb51e13d5d16b9ebca53a44b51d (diff) | |
| parent | 45071cec117bc3f4348aa808dc58f18850f4ad1d (diff) | |
| download | libgit2-f86f35d691a3ed901d96e800dbff9281155342f3.tar.gz | |
Merge branch 'pr/4225'
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c index 15752ab27..d090fda61 100644 --- a/src/remote.c +++ b/src/remote.c @@ -2411,7 +2411,7 @@ int git_remote_push(git_remote *remote, const git_strarray *refspecs, const git_ proxy = &opts->proxy_opts; } - assert(remote && refspecs); + assert(remote); if ((error = git_remote_connect(remote, GIT_DIRECTION_PUSH, cbs, proxy, custom_headers)) < 0) return error; |
