line |
true |
false |
branch |
19
|
5 |
0 |
ctx = GIMME_V; |
21
|
4 |
1 |
if (ctx != G_VOID) { |
25
|
1 |
3 |
if (git_sv_to_commitish(repo_ptr -> repository, local, &local_id) == NULL) |
28
|
1 |
2 |
if (git_sv_to_commitish(repo_ptr -> repository, upstream, &upstream_id) == NULL) |
38
|
1 |
1 |
if (ctx == G_ARRAY) { |
49
|
2 |
1 |
for (i = 0; i < ahead; ++i) { |
67
|
0 |
2 |
mXPUSHs(c); |
73
|
0 |
1 |
mXPUSHs(newSViv((int) ahead)); |
95
|
5 |
0 |
ctx = GIMME_V; |
97
|
4 |
1 |
if (ctx != G_VOID) { |
101
|
1 |
3 |
if (git_sv_to_commitish(repo_ptr -> repository, local, &local_id) == NULL) |
104
|
1 |
2 |
if (git_sv_to_commitish(repo_ptr -> repository, upstream, &upstream_id) == NULL) |
114
|
1 |
1 |
if (ctx == G_ARRAY) { |
125
|
2 |
1 |
for (i = 0; i < behind; ++i) { |
143
|
0 |
2 |
mXPUSHs(c); |
149
|
0 |
1 |
mXPUSHs(newSViv((int) behind)); |
176
|
1 |
3 |
if (git_sv_to_commitish(repo_ptr -> repository, local, &local_id) == NULL) |
179
|
1 |
2 |
if (git_sv_to_commitish(repo_ptr -> repository, upstream, &upstream_id) == NULL) |
190
|
1 |
1 |
if (ahead > 0 || behind > 0) { |
|
1 |
0 |
if (ahead > 0 || behind > 0) { |
198
|
1 |
1 |
if (ahead > 0) { |
205
|
2 |
1 |
for (i = 0; i < ahead; ++i) { |
224
|
1 |
1 |
if (behind > 0) { |
231
|
2 |
1 |
for (i = 0; i < behind; ++i) { |
269
|
1 |
21 |
if (git_sv_to_commitish(repo -> repository, commitish, &commitish_id) == NULL) |
272
|
1 |
20 |
if (git_sv_to_commitish(repo -> repository, ancestor, &ancestor_id) == NULL) |