line |
true |
false |
branch |
202
|
1137 |
0 |
if (SvTYPE(sv) >= SVt_PVMG) { |
205
|
1126 |
1137 |
for (tmp = SvMAGIC(sv); tmp; |
207
|
1126 |
0 |
if ((tmp -> mg_type == PERL_MAGIC_ext) && |
|
1126 |
0 |
if ((tmp -> mg_type == PERL_MAGIC_ext) && |
213
|
1126 |
11 |
return (mg) ? mg -> mg_ptr : NULL; |
243
|
91 |
0 |
if (!o || !curop || ( |
|
91 |
0 |
if (!o || !curop || ( |
|
0 |
91 |
if (!o || !curop || ( |
|
0 |
0 |
if (!o || !curop || ( |
|
88 |
3 |
if (!o || !curop || ( |
244
|
0 |
0 |
opnext ? o->op_next == curop && o->op_type != OP_SCOPE : o == curop |
|
0 |
0 |
opnext ? o->op_next == curop && o->op_type != OP_SCOPE : o == curop |
248
|
2 |
1 |
if (o->op_flags & OPf_KIDS) { |
250
|
1 |
0 |
for (kid = cUNOPo->op_first; kid; kid = OpSIBLING(kid)) { |
|
3 |
0 |
for (kid = cUNOPo->op_first; kid; kid = OpSIBLING(kid)) { |
253
|
0 |
3 |
if (kid->op_type == OP_NULL && kid->op_targ == OP_NEXTSTATE) |
|
0 |
0 |
if (kid->op_type == OP_NULL && kid->op_targ == OP_NEXTSTATE) |
258
|
2 |
1 |
if (new_cop) |
275
|
88 |
0 |
cop = git_closest_cop(aTHX_ PL_curcop, OpSIBLING(PL_curcop), PL_op, FALSE); |
276
|
0 |
88 |
if (cop == NULL) |
279
|
88 |
0 |
if (CopLINE (cop)) { |
280
|
88 |
0 |
e -> file = CopFILE (cop); |
305
|
28 |
1734 |
if (err != GIT_OK && err != GIT_ITEROVER) { |
|
21 |
7 |
if (err != GIT_OK && err != GIT_ITEROVER) { |
311
|
19 |
2 |
if ((error = giterr_last()) != NULL) { |
314
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
2 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
2 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
2 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
1 |
1 |
} else if (SvTRUE(ERRSV)) { |
|
1 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
1 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
1 |
1 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
|
0 |
0 |
} else if (SvTRUE(ERRSV)) { |
315
|
1 |
0 |
e -> message = newSVpv(SvPVbyte_nolen(ERRSV), 0); |
|
1 |
0 |
e -> message = newSVpv(SvPVbyte_nolen(ERRSV), 0); |
|
1 |
0 |
e -> message = newSVpv(SvPVbyte_nolen(ERRSV), 0); |
|
0 |
0 |
e -> message = newSVpv(SvPVbyte_nolen(ERRSV), 0); |
369
|
25 |
0 |
if (entry) { |
373
|
1 |
24 |
if (new_path) |
384
|
25 |
0 |
if (entry) { |
393
|
19 |
0 |
if (index_entry) { |
396
|
19 |
0 |
if ((entry = git_index_entry_dup(index_entry, path))) { |
445
|
22 |
22 |
sv_derived_from(sv, "Git::Raw::Blob") || |
446
|
22 |
0 |
sv_derived_from(sv, "Git::Raw::Commit") || |
447
|
5 |
17 |
sv_derived_from(sv, "Git::Raw::Tag") || |
450
|
27 |
0 |
return INT2PTR(git_object *, SvIV((SV *) SvRV(sv))); |
458
|
1772 |
0 |
if (sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type))) |
|
1772 |
0 |
if (sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type))) |
|
1767 |
5 |
if (sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type))) |
459
|
1767 |
0 |
return INT2PTR(void *, SvIV((SV *) SvRV(sv))); |
461
|
5 |
0 |
croak_usage("Argument is not of type %s @ (%s:%d)", |
473
|
1 |
0 |
if (!(sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type)))) |
|
1 |
0 |
if (!(sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type)))) |
|
0 |
1 |
if (!(sv_isobject(sv) && sv_derived_from(sv, SvPV_nolen(full_type)))) |
474
|
0 |
0 |
croak_assert("Argument is not of type %s @ (%s:%d)", |
497
|
68 |
40 |
if (sv_isobject(sv)) { |
498
|
10 |
58 |
if (sv_derived_from(sv, "Git::Raw::Reference")) { |
506
|
58 |
0 |
} else if (sv_derived_from(sv, "Git::Raw::Commit")) { |
515
|
1 |
39 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
1 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
1 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
1 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
516
|
33 |
6 |
commitish_name = SvPVbyte(sv, len); |
517
|
0 |
1 |
} else if (SvTYPE(sv) == SVt_PVLV) { |
518
|
0 |
0 |
commitish_name = SvPVbyte_force(sv, len); |
521
|
39 |
1 |
if (commitish_name) { |
523
|
21 |
18 |
if (git_oid_fromstrn(oid, commitish_name, len) >= 0) { |
524
|
1 |
20 |
if (len < GIT_OID_MINPREFIXLEN) |
527
|
7 |
13 |
if (len != GIT_OID_HEXSZ) { |
528
|
2 |
5 |
if (git_object_lookup_prefix(&obj, repo, oid, |
539
|
0 |
9 |
if (git_reference_peel(&obj, ref, GIT_OBJ_COMMIT) < 0) |
557
|
1 |
8 |
if (cbs -> initialize) { |
562
|
2 |
7 |
if (cbs -> shutdown) { |
567
|
3 |
6 |
if (cbs -> check) { |
572
|
5 |
4 |
if (cbs -> apply) { |
577
|
1 |
8 |
if (cbs -> cleanup) { |
586
|
12 |
0 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) |
595
|
112 |
915 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) { |
596
|
0 |
112 |
if (!SvIOK(*opt)) |
608
|
23 |
198 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) { |
609
|
0 |
23 |
if (!SvPOK(*opt)) |
619
|
30 |
0 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVAV) |
|
0 |
30 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVAV) |
626
|
139 |
1 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVHV) |
|
2 |
137 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVHV) |
633
|
53 |
0 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVCV) |
|
0 |
53 |
if (!SvROK(sv) || SvTYPE(SvRV(sv)) != SVt_PVCV) |
640
|
2 |
30 |
if (!SvIOK(sv)) |
643
|
30 |
0 |
return SvIV(sv); |
650
|
3 |
462 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
3 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
|
0 |
0 |
if (SvPOK(sv) || SvGAMAGIC(sv)) { |
651
|
462 |
3 |
pv = SvPVbyte(sv, real_len); |
652
|
0 |
0 |
} else if (SvTYPE(sv) == SVt_PVLV) { |
653
|
0 |
0 |
pv = SvPVbyte_force(sv, real_len); |
656
|
0 |
465 |
if (pv == NULL) |
659
|
166 |
299 |
if (len) |
672
|
43 |
32 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) |
681
|
84 |
133 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) |
690
|
18 |
42 |
if ((opt = hv_fetch(hv, name, strlen(name), 0))) |
699
|
92 |
867 |
if ((opt = git_hv_int_entry(value, name)) && SvIV(opt)) |
|
92 |
0 |
if ((opt = git_hv_int_entry(value, name)) && SvIV(opt)) |
|
92 |
0 |
if ((opt = git_hv_int_entry(value, name)) && SvIV(opt)) |
706
|
28 |
32 |
if ((cb = git_hv_code_entry(callbacks, name))) |
966
|
8 |
6 |
if (!strcmp(fmt_str, "patch")) |
968
|
1 |
5 |
else if (!strcmp(fmt_str, "patch_header")) |
970
|
1 |
4 |
else if (!strcmp(fmt_str, "raw")) |
972
|
1 |
3 |
else if (!strcmp(fmt_str, "name_only")) |
974
|
2 |
1 |
else if (!strcmp(fmt_str, "name_status")) |
991
|
0 |
42 |
PUSHMARK(SP); |
994
|
0 |
0 |
XPUSHs(sv_2mortal(newSVpv("ctx", 0))); |
999
|
0 |
9 |
XPUSHs(sv_2mortal(newSVpv("add", 0))); |
1004
|
0 |
8 |
XPUSHs(sv_2mortal(newSVpv("del", 0))); |
1008
|
0 |
17 |
XPUSHs(sv_2mortal(newSVpv("file", 0))); |
1012
|
0 |
8 |
XPUSHs(sv_2mortal(newSVpv("hunk", 0))); |
1016
|
0 |
0 |
XPUSHs(sv_2mortal(newSVpv("noeol", 0))); |
1020
|
0 |
0 |
XPUSHs(sv_2mortal(newSVpv("bin", 0))); |
1028
|
0 |
42 |
XPUSHs(sv_2mortal(newSVpv(line -> content, line -> content_len))); |
1033
|
42 |
0 |
FREETMPS; |
1054
|
0 |
12 |
PUSHMARK(SP); |
1055
|
0 |
12 |
mXPUSHs(newSVpv(entry -> name, 0)); |
1056
|
0 |
12 |
mXPUSHs(newSVpv(entry -> value, 0)); |
1057
|
0 |
12 |
mXPUSHs(newSVuv(entry -> level)); |
1064
|
12 |
0 |
rv = POPi; |
1067
|
12 |
0 |
FREETMPS; |
1070
|
1 |
11 |
if (rv != 0) |
1095
|
0 |
12 |
PUSHMARK(SP); |
1096
|
0 |
12 |
mXPUSHs(newSVuv(i)); |
1097
|
0 |
12 |
mXPUSHs(newSVpv(msg, 0)); |
1098
|
0 |
12 |
mXPUSHs(commit); |
1105
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
12 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
12 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
12 |
0 |
if (SvTRUE(ERRSV)) { |
|
11 |
1 |
if (SvTRUE(ERRSV)) { |
|
11 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
11 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
11 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1109
|
11 |
0 |
rv = POPi; |
1110
|
3 |
8 |
if (rv != 0) |
1115
|
12 |
0 |
FREETMPS; |
1137
|
6 |
3 |
if (type == GIT_OBJ_TAG) { |
1138
|
5 |
1 |
if (pl -> annotated) { |
1144
|
3 |
0 |
} else if (type == GIT_OBJ_COMMIT) { |
1147
|
2 |
1 |
if (pl -> lightweight) { |
1165
|
0 |
7 |
PUSHMARK(SP); |
1166
|
0 |
7 |
mXPUSHs(cb_arg); |
1173
|
7 |
0 |
rv = POPi; |
1176
|
7 |
0 |
FREETMPS; |
1179
|
1 |
6 |
if (rv != 0) |
1193
|
0 |
0 |
PUSHMARK(SP); |
1194
|
0 |
0 |
mXPUSHs(newSVpv(name, 0)); |
1201
|
0 |
0 |
rv = POPi; |
1204
|
0 |
0 |
FREETMPS; |
1207
|
0 |
0 |
if (rv != 0) |
1223
|
0 |
2 |
if (why & GIT_CHECKOUT_NOTIFY_CONFLICT) |
1226
|
0 |
2 |
if (why & GIT_CHECKOUT_NOTIFY_DIRTY) |
1229
|
1 |
1 |
if (why & GIT_CHECKOUT_NOTIFY_UPDATED) |
1232
|
1 |
1 |
if (why & GIT_CHECKOUT_NOTIFY_UNTRACKED) |
1235
|
0 |
2 |
if (why & GIT_CHECKOUT_NOTIFY_IGNORED) |
1241
|
0 |
2 |
PUSHMARK(SP); |
1242
|
0 |
2 |
mXPUSHs(newSVpv(path, 0)); |
1243
|
0 |
2 |
mXPUSHs(newRV_noinc((SV *) w)); |
1250
|
2 |
0 |
rv = POPi; |
1253
|
2 |
0 |
FREETMPS; |
1268
|
0 |
3 |
PUSHMARK(SP); |
1269
|
0 |
3 |
mXPUSHs(path ? newSVpv(path, 0) : &PL_sv_undef); |
|
2 |
1 |
mXPUSHs(path ? newSVpv(path, 0) : &PL_sv_undef); |
1270
|
0 |
3 |
mXPUSHs(newSViv(completed_steps)); |
1271
|
0 |
3 |
mXPUSHs(newSViv(total_steps)); |
1279
|
3 |
0 |
FREETMPS; |
1289
|
0 |
0 |
PUSHMARK(SP); |
1290
|
0 |
0 |
mXPUSHs(newSVpv(str, len)); |
1295
|
0 |
0 |
FREETMPS; |
1316
|
0 |
5 |
PUSHMARK(SP); |
1317
|
0 |
5 |
mXPUSHs(sv); |
1322
|
5 |
0 |
FREETMPS; |
1334
|
0 |
0 |
PUSHMARK(SP); |
1335
|
0 |
0 |
mXPUSHs(newSVuv(current)); |
1336
|
0 |
0 |
mXPUSHs(newSVuv(total)); |
1337
|
0 |
0 |
mXPUSHs(newSVuv(bytes)); |
1342
|
0 |
0 |
FREETMPS; |
1354
|
0 |
9 |
PUSHMARK(SP); |
1355
|
0 |
9 |
mXPUSHs(newSViv(stage)); |
1356
|
0 |
9 |
mXPUSHs(newSVuv(current)); |
1357
|
0 |
9 |
mXPUSHs(newSVuv(total)); |
1362
|
9 |
0 |
FREETMPS; |
1372
|
0 |
1 |
if (msg != NULL) { |
1379
|
0 |
1 |
PUSHMARK(SP); |
1380
|
0 |
1 |
mXPUSHs(newSVpv(ref, 0)); |
1381
|
0 |
1 |
mXPUSHs(newSVpv(msg, 0)); |
1386
|
1 |
0 |
FREETMPS; |
1398
|
0 |
0 |
for (i = 0; i < len; ++i) { |
1412
|
0 |
0 |
PUSHMARK(SP); |
1413
|
0 |
0 |
mXPUSHs(newRV_noinc((SV *)u)); |
1420
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1424
|
0 |
0 |
rv = POPi; |
1427
|
0 |
0 |
FREETMPS; |
1451
|
0 |
0 |
PUSHMARK(SP); |
1452
|
0 |
0 |
mXPUSHs(remote_sv); |
1459
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1470
|
0 |
0 |
FREETMPS; |
1483
|
0 |
0 |
PUSHMARK(SP); |
1484
|
0 |
0 |
mXPUSHs(newSVpv(name, 0)); |
1485
|
0 |
0 |
XPUSHs((a != NULL && !git_oid_iszero(a)) ? sv_2mortal(git_oid_to_sv(a)) : &PL_sv_undef); |
|
0 |
0 |
XPUSHs((a != NULL && !git_oid_iszero(a)) ? sv_2mortal(git_oid_to_sv(a)) : &PL_sv_undef); |
|
0 |
0 |
XPUSHs((a != NULL && !git_oid_iszero(a)) ? sv_2mortal(git_oid_to_sv(a)) : &PL_sv_undef); |
1486
|
0 |
0 |
XPUSHs((b != NULL && !git_oid_iszero(b)) ? sv_2mortal(git_oid_to_sv(b)) : &PL_sv_undef); |
|
0 |
0 |
XPUSHs((b != NULL && !git_oid_iszero(b)) ? sv_2mortal(git_oid_to_sv(b)) : &PL_sv_undef); |
|
0 |
0 |
XPUSHs((b != NULL && !git_oid_iszero(b)) ? sv_2mortal(git_oid_to_sv(b)) : &PL_sv_undef); |
1491
|
0 |
0 |
FREETMPS; |
1516
|
0 |
0 |
PUSHMARK(SP); |
1517
|
0 |
0 |
mXPUSHs(repo_sv); |
1518
|
0 |
0 |
mXPUSHs(newSVpv(name, 0)); |
1519
|
0 |
0 |
mXPUSHs(newSVpv(url, 0)); |
1526
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1533
|
0 |
0 |
if (SvOK(r)) { |
|
0 |
0 |
if (SvOK(r)) { |
|
0 |
0 |
if (SvOK(r)) { |
1546
|
0 |
0 |
FREETMPS; |
1559
|
0 |
0 |
if (allow & GIT_CREDTYPE_USERPASS_PLAINTEXT) |
1561
|
0 |
0 |
if (allow & GIT_CREDTYPE_SSH_KEY) |
1563
|
0 |
0 |
if (allow & GIT_CREDTYPE_SSH_CUSTOM) |
1565
|
0 |
0 |
if (allow & GIT_CREDTYPE_DEFAULT) |
1567
|
0 |
0 |
if (allow & GIT_CREDTYPE_SSH_INTERACTIVE) |
1569
|
0 |
0 |
if (allow & GIT_CREDTYPE_USERNAME) |
1571
|
0 |
0 |
if (allow & GIT_CREDTYPE_SSH_MEMORY) |
1577
|
0 |
0 |
PUSHMARK(SP); |
1578
|
0 |
0 |
mXPUSHs(newSVpv(url, 0)); |
1579
|
0 |
0 |
mXPUSHs(newSVpv(usr_from_url, 0)); |
1580
|
0 |
0 |
mXPUSHs(newRV_noinc((SV *)types)); |
1587
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1592
|
0 |
0 |
if (SvOK(c)) { |
|
0 |
0 |
if (SvOK(c)) { |
|
0 |
0 |
if (SvOK(c)) { |
1600
|
0 |
0 |
FREETMPS; |
1611
|
0 |
0 |
if (cert -> cert_type == GIT_CERT_X509) { |
1617
|
0 |
0 |
} else if (cert -> cert_type == GIT_CERT_HOSTKEY_LIBSSH2) { |
1628
|
0 |
0 |
PUSHMARK(SP); |
1629
|
0 |
0 |
mXPUSHs(obj); |
1630
|
0 |
0 |
mXPUSHs(newSViv(valid)); |
1631
|
0 |
0 |
mXPUSHs(newSVpv(host, 0)); |
1638
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1642
|
0 |
0 |
rv = POPi; |
1645
|
0 |
0 |
FREETMPS; |
1658
|
0 |
0 |
if (num_prompts == 0) |
1664
|
0 |
0 |
PUSHMARK(SP); |
1665
|
0 |
0 |
mXPUSHs(newSVpv(name, name_len)); |
1666
|
0 |
0 |
mXPUSHs(newSVpv(instruction, instruction_len)); |
1667
|
0 |
0 |
for (i = 0; i < num_prompts; ++i) { |
1671
|
0 |
0 |
mXPUSHs(newRV_noinc((SV*)prompt)); |
1679
|
0 |
0 |
if (count != num_prompts) |
1682
|
0 |
0 |
for (i = 1; i <= count; ++i) { |
1685
|
0 |
0 |
const char *response = SvPV(r, len); |
1694
|
0 |
0 |
FREETMPS; |
1706
|
0 |
1 |
PUSHMARK(SP); |
1713
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
1 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
1 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
1 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
1 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1717
|
1 |
0 |
rv = POPi; |
1721
|
1 |
0 |
FREETMPS; |
1733
|
0 |
2 |
PUSHMARK(SP); |
1738
|
0 |
2 |
FREETMPS; |
1756
|
0 |
3 |
PUSHMARK(SP); |
1757
|
0 |
3 |
mXPUSHs(filter_source); |
1764
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1768
|
3 |
0 |
rv = POPi; |
1772
|
3 |
0 |
FREETMPS; |
1793
|
0 |
4 |
PUSHMARK(SP); |
1794
|
0 |
4 |
mXPUSHs(filter_source); |
1795
|
0 |
4 |
mXPUSHs(newSVpv(from -> ptr, from -> size)); |
1796
|
0 |
4 |
mXPUSHs(newRV_noinc(result)); |
1803
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
4 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
4 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
3 |
1 |
if (SvTRUE(ERRSV)) { |
|
3 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
3 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1807
|
3 |
0 |
rv = POPi; |
1810
|
2 |
2 |
if (rv == GIT_OK) { |
1812
|
2 |
0 |
const char *ptr = SvPV(result, len); |
1818
|
4 |
0 |
FREETMPS; |
1830
|
0 |
1 |
PUSHMARK(SP); |
1835
|
0 |
1 |
FREETMPS; |
1845
|
2 |
5 |
if (callback == NULL) |
1851
|
0 |
5 |
PUSHMARK(SP); |
1852
|
0 |
5 |
mXPUSHs(newSVpv(path, 0)); |
1853
|
0 |
5 |
mXPUSHs(pathspec ? newSVpv(pathspec, 0) : &PL_sv_undef); |
|
5 |
0 |
mXPUSHs(pathspec ? newSVpv(pathspec, 0) : &PL_sv_undef); |
1860
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
5 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
5 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
5 |
0 |
if (SvTRUE(ERRSV)) { |
|
4 |
1 |
if (SvTRUE(ERRSV)) { |
|
4 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
4 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
1 |
4 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1864
|
4 |
0 |
rv = POPi; |
1867
|
5 |
0 |
FREETMPS; |
1879
|
0 |
10 |
if (callback == NULL) |
1885
|
0 |
10 |
PUSHMARK(SP); |
1886
|
0 |
10 |
mXPUSHs(newSViv (progress)); |
1893
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
10 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
10 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
10 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
10 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
10 |
if (SvTRUE(ERRSV)) { |
1899
|
10 |
0 |
FREETMPS; |
1912
|
0 |
121 |
PUSHMARK(SP); |
1913
|
0 |
121 |
mXPUSHs(git_oid_to_sv(oid)); |
1920
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
121 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
121 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
121 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
121 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
121 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
|
0 |
0 |
if (SvTRUE(ERRSV)) { |
1924
|
121 |
0 |
rv = POPi; |
1925
|
0 |
121 |
if (rv != 0) |
1930
|
121 |
0 |
FREETMPS; |
1940
|
12 |
11 |
while ((path = av_fetch(list, i++, 0))) { |
1941
|
12 |
0 |
if (!path || !SvOK(*path)) |
|
1 |
11 |
if (!path || !SvOK(*path)) |
|
1 |
0 |
if (!path || !SvOK(*path)) |
|
1 |
0 |
if (!path || !SvOK(*path)) |
1944
|
0 |
11 |
Renew(paths->strings, count + 1, char *); |
1945
|
11 |
0 |
paths->strings[count++] = SvPVbyte_nolen(*path); |
1955
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "bare")) && SvIV(opt)) |
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "bare")) && SvIV(opt)) |
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "bare")) && SvIV(opt)) |
1958
|
0 |
0 |
if ((opt = git_hv_string_entry(opts, "checkout_branch"))) |
1961
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "disable_checkout")) && SvIV(opt)) |
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "disable_checkout")) && SvIV(opt)) |
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "disable_checkout")) && SvIV(opt)) |
1965
|
0 |
0 |
if ((callbacks = git_hv_hash_entry(opts, "callbacks"))) { |
1968
|
0 |
0 |
if ((remote_cb = get_callback_option(callbacks, "remote_create"))) { |
1981
|
25 |
8 |
if ((hopt = git_hv_hash_entry(opts, "checkout_strategy"))) |
1985
|
2 |
31 |
if ((lopt = git_hv_list_entry(opts, "paths"))) { |
1989
|
4 |
2 |
while ((path = av_fetch(lopt, i++, 0))) { |
1990
|
1 |
3 |
if (!SvOK(*path)) |
|
1 |
0 |
if (!SvOK(*path)) |
|
1 |
0 |
if (!SvOK(*path)) |
1993
|
0 |
3 |
Renew(paths, count+1, char *); |
1994
|
3 |
0 |
paths[count++] = SvPVbyte_nolen(*path); |
1997
|
2 |
0 |
if (count > 0) { |
2003
|
0 |
33 |
if ((opt = git_hv_string_entry(opts, "target_directory"))) |
2004
|
0 |
0 |
checkout_opts -> target_directory = SvPVbyte_nolen(opt); |
2006
|
1 |
32 |
if ((opt = git_hv_string_entry(opts, "ancestor_label"))) |
2007
|
1 |
0 |
checkout_opts -> ancestor_label = SvPVbyte_nolen(opt); |
2009
|
1 |
32 |
if ((opt = git_hv_string_entry(opts, "our_label"))) |
2010
|
1 |
0 |
checkout_opts -> our_label = SvPVbyte_nolen(opt); |
2012
|
1 |
32 |
if ((opt = git_hv_string_entry(opts, "their_label"))) |
2013
|
1 |
0 |
checkout_opts -> their_label = SvPVbyte_nolen(opt); |
2015
|
1 |
32 |
if ((hopt = git_hv_hash_entry(opts, "callbacks"))) { |
2016
|
1 |
0 |
if ((checkout_opts -> progress_payload = |
2020
|
1 |
0 |
if ((checkout_opts -> notify_payload = |
2024
|
1 |
0 |
if ((lopt = git_hv_list_entry(opts, "notify"))) { |
2028
|
6 |
1 |
while ((flag = av_fetch(lopt, count++, 0))) { |
2029
|
6 |
0 |
if (SvPOK(*flag)) { |
2030
|
6 |
0 |
const char *f = SvPVbyte_nolen(*flag); |
2032
|
1 |
5 |
if (strcmp(f, "conflict") == 0) |
2035
|
1 |
5 |
if (strcmp(f, "dirty") == 0) |
2038
|
1 |
5 |
if (strcmp(f, "updated") == 0) |
2041
|
1 |
5 |
if (strcmp(f, "untracked") == 0) |
2044
|
1 |
5 |
if (strcmp(f, "ignored") == 0) |
2047
|
1 |
5 |
if (strcmp(f, "all") == 0) |
2062
|
12 |
2 |
if (tree) { |
2065
|
12 |
0 |
if ((opt = git_hv_sv_entry(opts, "tree")) && SvOK(opt)) |
|
0 |
12 |
if ((opt = git_hv_sv_entry(opts, "tree")) && SvOK(opt)) |
|
0 |
0 |
if ((opt = git_hv_sv_entry(opts, "tree")) && SvOK(opt)) |
|
0 |
0 |
if ((opt = git_hv_sv_entry(opts, "tree")) && SvOK(opt)) |
2069
|
5 |
9 |
if ((hopt = git_hv_hash_entry(opts, "flags"))) |
2072
|
3 |
11 |
if ((hopt = git_hv_hash_entry(opts, "prefix"))) { |
2075
|
3 |
0 |
if ((ab = git_hv_string_entry(hopt, "a"))) |
2076
|
3 |
0 |
diff_options->old_prefix = SvPVbyte_nolen(ab); |
2078
|
3 |
0 |
if ((ab = git_hv_string_entry(hopt, "b"))) |
2079
|
3 |
0 |
diff_options->new_prefix = SvPVbyte_nolen(ab); |
2082
|
2 |
12 |
if ((opt = git_hv_int_entry(opts, "context_lines"))) |
2083
|
2 |
0 |
diff_options->context_lines = (uint16_t) SvIV(opt); |
2085
|
2 |
12 |
if ((opt = git_hv_int_entry(opts, "interhunk_lines"))) |
2086
|
2 |
0 |
diff_options->interhunk_lines = (uint16_t) SvIV(opt); |
2088
|
5 |
9 |
if ((lopt = git_hv_list_entry(opts, "paths"))) { |
2093
|
8 |
5 |
while ((path = av_fetch(lopt, i++, 0))) { |
2094
|
2 |
6 |
if (!SvOK(*path)) |
|
2 |
0 |
if (!SvOK(*path)) |
|
2 |
0 |
if (!SvOK(*path)) |
2097
|
0 |
6 |
Renew(paths, count + 1, char *); |
2098
|
6 |
0 |
paths[count++] = SvPVbyte_nolen(*path); |
2101
|
5 |
0 |
if (count > 0) { |
2112
|
0 |
2 |
if ((hopt = git_hv_hash_entry(opts, "checkout_opts"))) |
2115
|
2 |
0 |
if ((hopt = git_hv_hash_entry(opts, "flags"))) { |
2123
|
2 |
0 |
if ((hopt = git_hv_hash_entry(opts, "callbacks"))) { |
2124
|
2 |
0 |
if ((stash_opts->progress_payload = get_callback_option(hopt, "apply_progress"))) |
2134
|
0 |
2 |
if (get_callback_option(opts, "credentials")) |
2137
|
0 |
2 |
if (get_callback_option(opts, "certificate_check")) |
2140
|
0 |
2 |
if (get_callback_option(opts, "sideband_progress")) |
2143
|
0 |
2 |
if (get_callback_option(opts, "transfer_progress")) |
2146
|
0 |
2 |
if (get_callback_option(opts, "update_tips")) |
2149
|
2 |
0 |
if (get_callback_option(opts, "pack_progress")) |
2152
|
0 |
2 |
if (get_callback_option(opts, "push_transfer_progress")) |
2155
|
1 |
1 |
if (get_callback_option(opts, "push_update_reference")) |
2158
|
0 |
2 |
if (get_callback_option(opts, "push_negotiation")) |
2161
|
0 |
2 |
if (get_callback_option(opts, "transport")) |
2168
|
0 |
0 |
if ((hopt = git_hv_hash_entry(opts, "callbacks"))) |
2175
|
2 |
0 |
if ((hopt = git_hv_hash_entry(opts, "callbacks"))) |
2208
|
1 |
11 |
if ((hopt = git_hv_hash_entry(opts, "flags"))) |
2211
|
1 |
11 |
if ((hopt = git_hv_hash_entry(opts, "file_flags"))) |
2214
|
3 |
9 |
if ((opt = git_hv_string_entry(opts, "favor"))) { |
2215
|
3 |
0 |
const char *favor = SvPVbyte_nolen(opt); |
2216
|
1 |
2 |
if (strcmp(favor, "ours") == 0) |
2219
|
1 |
1 |
else if (strcmp(favor, "theirs") == 0) |
2222
|
0 |
1 |
else if (strcmp(favor, "union") == 0) |
2229
|
1 |
10 |
if ((opt = git_hv_int_entry(opts, "rename_threshold"))) |
2230
|
1 |
0 |
merge_options -> rename_threshold = SvIV(opt); |
2232
|
1 |
10 |
if ((opt = git_hv_int_entry(opts, "target_limit"))) |
2233
|
1 |
0 |
merge_options -> target_limit = SvIV(opt); |
2241
|
1 |
2 |
if ((hopt = git_hv_hash_entry(opts, "flags"))) |
2244
|
2 |
1 |
if ((opt = git_hv_string_entry(opts, "favor"))) { |
2245
|
2 |
0 |
const char *favor = SvPVbyte_nolen(opt); |
2246
|
1 |
1 |
if (strcmp(favor, "ours") == 0) |
2249
|
0 |
1 |
else if (strcmp(favor, "theirs") == 0) |
2252
|
0 |
1 |
else if (strcmp(favor, "union") == 0) |
2259
|
1 |
1 |
if ((opt = git_hv_string_entry(opts, "ancestor_label"))) |
2260
|
1 |
0 |
merge_options -> ancestor_label = SvPVbyte_nolen(opt); |
2262
|
1 |
1 |
if ((opt = git_hv_string_entry(opts, "our_label"))) |
2263
|
1 |
0 |
merge_options -> our_label = SvPVbyte_nolen(opt); |
2265
|
1 |
1 |
if ((opt = git_hv_string_entry(opts, "their_label"))) |
2266
|
1 |
0 |
merge_options -> their_label = SvPVbyte_nolen(opt); |
2268
|
1 |
1 |
if ((opt = git_hv_int_entry(opts, "marker_size"))) |
2269
|
1 |
0 |
merge_options -> marker_size = SvIV(opt); |
2285
|
5 |
1 |
if ((hopt = git_hv_hash_entry(opts, "flags"))) |
2293
|
2 |
1 |
if ((opt = git_hv_int_entry(opts, "quiet"))) |
2294
|
2 |
0 |
rebase_opts -> quiet = SvIV(opt); |
2296
|
1 |
2 |
if ((opt = git_hv_int_entry(opts, "inmemory"))) |
2297
|
1 |
0 |
rebase_opts -> inmemory = SvIV(opt); |
2299
|
0 |
3 |
if ((opt = git_hv_string_entry(opts, "rewrite_notes_ref"))) |
2300
|
0 |
0 |
rebase_opts -> rewrite_notes_ref = SvPVbyte_nolen(opt); |
2302
|
2 |
1 |
if ((hopt = git_hv_hash_entry(opts, "merge_opts"))) |
2305
|
2 |
1 |
if ((hopt = git_hv_hash_entry(opts, "checkout_opts"))) |
2313
|
0 |
0 |
if ((hopt = git_hv_hash_entry(opts, "fetch_opts"))) |
2316
|
0 |
0 |
if ((hopt = git_hv_hash_entry(opts, "checkout_opts"))) |
2319
|
0 |
0 |
if ((opt = git_hv_int_entry(opts, "allow_fetch"))) |
2320
|
0 |
0 |
update_opts -> allow_fetch = SvIV(opt); |
2344
|
5 |
0 |
if (items >= 3) |
2346
|
5 |
0 |
if (items >= 4) { |
2350
|
1 |
4 |
if (len != 1) |
2361
|
4 |
0 |
if (rc == GIT_OK) { |
2375
|
3 |
0 |
int ctx = GIMME_V; |
2378
|
2 |
1 |
if (ctx != G_VOID) { |
2379
|
1 |
1 |
if (ctx == G_ARRAY) { |
2382
|
0 |
1 |
mXPUSHs(newSVpv("threads", 0)); |
2383
|
0 |
1 |
mXPUSHs(newSViv((features & GIT_FEATURE_THREADS) ? 1 : 0)); |
2384
|
0 |
1 |
mXPUSHs(newSVpv("https", 0)); |
2385
|
0 |
1 |
mXPUSHs(newSViv((features & GIT_FEATURE_HTTPS) ? 1 : 0)); |
2386
|
0 |
1 |
mXPUSHs(newSVpv("ssh", 0)); |
2387
|
0 |
1 |
mXPUSHs(newSViv((features & GIT_FEATURE_SSH) ? 1 : 0)); |
2391
|
0 |
1 |
mXPUSHs(newSViv(3)); |