summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-05-01 15:23:54 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2017-05-01 15:23:54 +0100
commitf86f35d691a3ed901d96e800dbff9281155342f3 (patch)
tree4d85b9cb6c654d861c119da5fb6685af147e33e1 /src
parentf9921ad7c962adb51e13d5d16b9ebca53a44b51d (diff)
parent45071cec117bc3f4348aa808dc58f18850f4ad1d (diff)
downloadlibgit2-f86f35d691a3ed901d96e800dbff9281155342f3.tar.gz
Merge branch 'pr/4225'
Diffstat (limited to 'src')
-rw-r--r--src/remote.c2
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;