summaryrefslogtreecommitdiff
path: root/include/git2/sys
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-08-10 17:50:46 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-08-29 15:28:10 +0200
commit0cdaa3766a772e65dcbc491a2d671b6169e97c60 (patch)
tree764f0dd15dbee2d589518124cdb84dbdd85d1a66 /include/git2/sys
parent94412b009e81f0fdd474b0a0848f117cac3bd3b5 (diff)
downloadlibgit2-0cdaa3766a772e65dcbc491a2d671b6169e97c60.tar.gz
remote: short-circuit the default branch check if there is none
If we do not have a HEAD ref in the heads, we already know there is no default branch. Return immedately.
Diffstat (limited to 'include/git2/sys')
0 files changed, 0 insertions, 0 deletions