summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-11-08 20:21:14 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-08 20:21:14 +0100
commit64fdd86d0e820479b414628051cf8e16c643dc8d (patch)
tree07c76d55ef41e732defeb7482907fa7a7b38d207 /include/git2
parente235db021267841ac39e2f539339d63d7e757672 (diff)
downloadlibgit2-64fdd86d0e820479b414628051cf8e16c643dc8d.tar.gz
remote: don't check for upstream on an anonymous remote
If the remote is anonymous, then we cannot check for any configuration, as there is no name. Check for this before we try to use the name, which may be a NULL pointer. This fixes #2697.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions