skip_prefix 67 advice.c if (!skip_prefix(var, "advice.", &k)) skip_prefix 57 branch.c if (skip_prefix(remote, "refs/heads/", &shortname) skip_prefix 398 branch.c skip_prefix(branch, "refs/heads/", &branch); skip_prefix 289 builtin/am.c if (!skip_prefix(sb.buf, key, &str)) skip_prefix 292 builtin/am.c if (!skip_prefix(str, "=", &str)) skip_prefix 824 builtin/am.c else if (skip_prefix(sb.buf, "Author:", &str)) skip_prefix 905 builtin/am.c if (skip_prefix(sb.buf, "# User ", &str)) skip_prefix 907 builtin/am.c else if (skip_prefix(sb.buf, "# Date ", &str)) { skip_prefix 917 builtin/am.c if (!skip_prefix(end, " ", &str)) skip_prefix 1319 builtin/am.c if (skip_prefix(sb.buf, "Subject: ", &x)) { skip_prefix 1323 builtin/am.c } else if (skip_prefix(sb.buf, "Author: ", &x)) skip_prefix 1325 builtin/am.c else if (skip_prefix(sb.buf, "Email: ", &x)) skip_prefix 1327 builtin/am.c else if (skip_prefix(sb.buf, "Date: ", &x)) skip_prefix 1385 builtin/am.c if (!skip_prefix(sb.buf, "From ", &x)) skip_prefix 440 builtin/apply.c return skip_prefix(str, "/dev/null", &str) && isspace(*str); skip_prefix 4079 builtin/apply.c if (!skip_prefix(buf, "Subproject commit ", &s) || skip_prefix 92 builtin/branch.c if (skip_prefix(var, "color.branch.", &slot_name)) { skip_prefix 308 builtin/branch.c skip_prefix(dst, prefix, &dst); skip_prefix 350 builtin/branch.c if (skip_prefix(refname, prefix, &refname)) { skip_prefix 878 builtin/branch.c else if (!skip_prefix(head, "refs/heads/", &head)) skip_prefix 100 builtin/cat-file.c if (!skip_prefix(buffer, "object ", &target) || skip_prefix 816 builtin/checkout.c skip_prefix(old.path, "refs/heads/", &old.name); skip_prefix 1199 builtin/checkout.c skip_prefix(argv0, "refs/", &argv0); skip_prefix 1200 builtin/checkout.c skip_prefix(argv0, "remotes/", &argv0); skip_prefix 113 builtin/clean.c if (skip_prefix(var, "color.interactive.", &slot_name)) { skip_prefix 649 builtin/clone.c if (our && skip_prefix(our->name, "refs/heads/", &head)) { skip_prefix 768 builtin/clone.c if (!skip_prefix(head, "refs/heads/", &head)) skip_prefix 69 builtin/commit-tree.c if (skip_prefix(arg, "-S", &sign_commit)) skip_prefix 1018 builtin/commit.c if (!skip_prefix(sb->buf, tmpl.buf, &start)) skip_prefix 1286 builtin/commit.c if (skip_prefix(k, "status.color.", &slot_name) || skip_prefix 1287 builtin/commit.c skip_prefix(k, "color.status.", &slot_name)) { skip_prefix 1478 builtin/commit.c skip_prefix(head, "refs/heads/", &head); skip_prefix 454 builtin/fast-export.c if (skip_prefix(refname, prefixes[i], &refname)) { skip_prefix 992 builtin/fetch.c if (skip_prefix(key, "remotes.", &key) && !strcmp(key, g->name)) { skip_prefix 169 builtin/fmt-merge-msg.c } else if (skip_prefix(line, "remote-tracking branch ", &origin)) { skip_prefix 306 builtin/fmt-merge-msg.c skip_prefix(me, them->items->string, &me) && skip_prefix 66 builtin/fsck.c if (skip_prefix(var, "fsck.", &var)) { skip_prefix 33 builtin/get-tar-commit-id.c if (!skip_prefix(content, "52 comment=", &comment)) skip_prefix 1636 builtin/index-pack.c } else if (skip_prefix(arg, "--strict=", &arg)) { skip_prefix 194 builtin/init-db.c if (skip_prefix(git_dir, work_tree, &git_dir) && skip_prefix 400 builtin/log.c if (skip_prefix(var, "color.decorate.", &slot_name)) skip_prefix 918 builtin/log.c skip_prefix(full_ref, "refs/heads/", &v) && skip_prefix 1430 builtin/log.c if (ref && skip_prefix(ref, "refs/heads/", &v)) skip_prefix 307 builtin/mailinfo.c if (!skip_prefix(line, "From ", &cp)) skip_prefix 823 builtin/notes.c if (!skip_prefix(o.local_ref, "refs/notes/", &short_ref)) skip_prefix 659 builtin/pull.c else if (skip_prefix(spec_src, "heads/", &spec_src)) skip_prefix 661 builtin/pull.c else if (skip_prefix(spec_src, "refs/heads/", &spec_src)) skip_prefix 133 builtin/push.c skip_prefix(short_upstream, "refs/heads/", &short_upstream); skip_prefix 131 builtin/receive-pack.c if (skip_prefix(var, "receive.fsck.", &var)) { skip_prefix 36 builtin/remote-ext.c skip_prefix(service_noprefix, "git-", &service_noprefix); skip_prefix 255 builtin/remote.c skip_prefix(name, prefix, &name); skip_prefix 361 builtin/tag.c if (skip_prefix(arg, "-", &arg)) skip_prefix 364 builtin/tag.c if (skip_prefix(arg, "version:", &arg) || skip_prefix(arg, "v:", &arg)) skip_prefix 533 builtin/unpack-objects.c if (skip_prefix(arg, "--strict=", &arg)) { skip_prefix 339 column.c if (!skip_prefix(var, "column.", &it)) skip_prefix 22 connect.c if (!skip_prefix(name, "refs/", &name)) skip_prefix 139 connect.c if (len > 4 && skip_prefix(buffer, "ERR ", &arg)) skip_prefix 142 connect.c if (len == 48 && skip_prefix(buffer, "shallow ", &arg)) { skip_prefix 1171 convert.c if (!skip_prefix(str, "$Id: ", &str)) skip_prefix 101 credential-cache--daemon.c if (!skip_prefix(item.buf, "action=", &p)) skip_prefix 106 credential-cache--daemon.c if (!skip_prefix(item.buf, "timeout=", &p)) skip_prefix 43 credential.c if (!skip_prefix(var, "credential.", &key)) skip_prefix 705 daemon.c if (skip_prefix(line, "git-", &arg) && skip_prefix 706 daemon.c skip_prefix(arg, s->name, &arg) && skip_prefix 1205 daemon.c if (skip_prefix(arg, "--listen=", &v)) { skip_prefix 1209 daemon.c if (skip_prefix(arg, "--port=", &v)) { skip_prefix 1239 daemon.c if (skip_prefix(arg, "--access-hook=", &v)) { skip_prefix 1243 daemon.c if (skip_prefix(arg, "--timeout=", &v)) { skip_prefix 1247 daemon.c if (skip_prefix(arg, "--init-timeout=", &v)) { skip_prefix 1251 daemon.c if (skip_prefix(arg, "--max-connections=", &v)) { skip_prefix 1261 daemon.c if (skip_prefix(arg, "--base-path=", &v)) { skip_prefix 1269 daemon.c if (skip_prefix(arg, "--interpolated-path=", &v)) { skip_prefix 1281 daemon.c if (skip_prefix(arg, "--user-path=", &v)) { skip_prefix 1285 daemon.c if (skip_prefix(arg, "--pid-file=", &v)) { skip_prefix 1294 daemon.c if (skip_prefix(arg, "--user=", &v)) { skip_prefix 1298 daemon.c if (skip_prefix(arg, "--group=", &v)) { skip_prefix 1302 daemon.c if (skip_prefix(arg, "--enable=", &v)) { skip_prefix 1306 daemon.c if (skip_prefix(arg, "--disable=", &v)) { skip_prefix 1310 daemon.c if (skip_prefix(arg, "--allow-override=", &v)) { skip_prefix 1314 daemon.c if (skip_prefix(arg, "--forbid-override=", &v)) { skip_prefix 794 date.c else if (skip_prefix(format, "format:", &format)) { skip_prefix 246 diff.c if (skip_prefix(var, "diff.color.", &name) || skip_prefix 247 diff.c skip_prefix(var, "color.diff.", &name)) { skip_prefix 2447 diff.c else if (skip_prefix(diffopts, "--unified=", &v)) skip_prefix 2449 diff.c else if (skip_prefix(diffopts, "-u", &v)) skip_prefix 3467 diff.c if (!skip_prefix(arg, "--", &arg)) skip_prefix 3469 diff.c if (!skip_prefix(arg, opt, &arg)) skip_prefix 3494 diff.c if (!skip_prefix(arg, "--stat", &arg)) skip_prefix 3500 diff.c if (skip_prefix(arg, "-width", &arg)) { skip_prefix 3509 diff.c } else if (skip_prefix(arg, "-name-width", &arg)) { skip_prefix 3518 diff.c } else if (skip_prefix(arg, "-graph-width", &arg)) { skip_prefix 3527 diff.c } else if (skip_prefix(arg, "-count", &arg)) { skip_prefix 3662 diff.c if (skip_prefix(*arg, token, &rest) && (!*rest || *rest == ',')) { skip_prefix 3719 diff.c else if (skip_prefix(arg, "-X", &arg)) skip_prefix 3721 diff.c else if (skip_prefix(arg, "--dirstat=", &arg)) skip_prefix 3727 diff.c else if (skip_prefix(arg, "--dirstat-by-file=", &arg)) { skip_prefix 3779 diff.c else if (skip_prefix(arg, "--relative=", &arg)) { skip_prefix 3833 diff.c else if (skip_prefix(arg, "--color=", &arg)) { skip_prefix 3845 diff.c else if (skip_prefix(arg, "--color-words=", &arg)) { skip_prefix 3854 diff.c else if (skip_prefix(arg, "--word-diff=", &arg)) { skip_prefix 3889 diff.c } else if (skip_prefix(arg, "--ignore-submodules=", &arg)) { skip_prefix 3894 diff.c else if (skip_prefix(arg, "--submodule=", &arg)) skip_prefix 3896 diff.c else if (skip_prefix(arg, "--ws-error-highlight=", &arg)) skip_prefix 3932 diff.c else if (skip_prefix(arg, "--abbrev=", &arg)) { skip_prefix 4014 diff.c if (skip_prefix(opt, "break-rewrites", &opt)) { skip_prefix 4017 diff.c } else if (skip_prefix(opt, "find-copies", &opt)) { skip_prefix 4020 diff.c } else if (skip_prefix(opt, "find-renames", &opt)) { skip_prefix 1914 fast-import.c if (skip_prefix(command_buf.buf, "get-mark ", &p)) { skip_prefix 1918 fast-import.c if (skip_prefix(command_buf.buf, "cat-blob ", &p)) { skip_prefix 1938 fast-import.c if (skip_prefix(command_buf.buf, "mark :", &v)) { skip_prefix 1951 fast-import.c if (!skip_prefix(command_buf.buf, "data ", &data)) skip_prefix 1954 fast-import.c if (skip_prefix(data, "<<", &data)) { skip_prefix 2325 fast-import.c } else if (skip_prefix(p, "inline ", &p)) { skip_prefix 2492 fast-import.c } else if (skip_prefix(p, "inline ", &p)) { skip_prefix 2601 fast-import.c if (!skip_prefix(command_buf.buf, "from ", &from)) skip_prefix 2653 fast-import.c while (skip_prefix(command_buf.buf, "merge ", &from)) { skip_prefix 2701 fast-import.c if (skip_prefix(command_buf.buf, "author ", &v)) { skip_prefix 2705 fast-import.c if (skip_prefix(command_buf.buf, "committer ", &v)) { skip_prefix 2726 fast-import.c if (skip_prefix(command_buf.buf, "M ", &v)) skip_prefix 2728 fast-import.c else if (skip_prefix(command_buf.buf, "D ", &v)) skip_prefix 2730 fast-import.c else if (skip_prefix(command_buf.buf, "R ", &v)) skip_prefix 2732 fast-import.c else if (skip_prefix(command_buf.buf, "C ", &v)) skip_prefix 2734 fast-import.c else if (skip_prefix(command_buf.buf, "N ", &v)) skip_prefix 2738 fast-import.c else if (skip_prefix(command_buf.buf, "ls ", &v)) skip_prefix 2805 fast-import.c if (!skip_prefix(command_buf.buf, "from ", &from)) skip_prefix 2832 fast-import.c if (skip_prefix(command_buf.buf, "tagger ", &v)) { skip_prefix 3227 fast-import.c if (skip_prefix(option, "max-pack-size=", &option)) { skip_prefix 3239 fast-import.c } else if (skip_prefix(option, "big-file-threshold=", &option)) { skip_prefix 3244 fast-import.c } else if (skip_prefix(option, "depth=", &option)) { skip_prefix 3246 fast-import.c } else if (skip_prefix(option, "active-branches=", &option)) { skip_prefix 3248 fast-import.c } else if (skip_prefix(option, "export-pack-edges=", &option)) { skip_prefix 3265 fast-import.c if (skip_prefix(feature, "date-format=", &arg)) { skip_prefix 3267 fast-import.c } else if (skip_prefix(feature, "import-marks=", &arg)) { skip_prefix 3269 fast-import.c } else if (skip_prefix(feature, "import-marks-if-exists=", &arg)) { skip_prefix 3271 fast-import.c } else if (skip_prefix(feature, "export-marks=", &arg)) { skip_prefix 3359 fast-import.c if (!skip_prefix(a, "--", &a)) skip_prefix 3368 fast-import.c if (skip_prefix(a, "cat-blob-fd=", &a)) { skip_prefix 3423 fast-import.c else if (skip_prefix(command_buf.buf, "ls ", &v)) skip_prefix 3425 fast-import.c else if (skip_prefix(command_buf.buf, "commit ", &v)) skip_prefix 3427 fast-import.c else if (skip_prefix(command_buf.buf, "tag ", &v)) skip_prefix 3429 fast-import.c else if (skip_prefix(command_buf.buf, "reset ", &v)) skip_prefix 3437 fast-import.c else if (skip_prefix(command_buf.buf, "feature ", &v)) skip_prefix 3439 fast-import.c else if (skip_prefix(command_buf.buf, "option git ", &v)) skip_prefix 211 fetch-pack.c if (skip_prefix(line, "ACK ", &arg)) { skip_prefix 343 fetch-pack.c if (skip_prefix(line, "shallow ", &arg)) { skip_prefix 349 fetch-pack.c if (skip_prefix(line, "unshallow ", &arg)) { skip_prefix 616 fsck.c if (!skip_prefix(buffer, "tree ", &buffer)) skip_prefix 624 fsck.c while (skip_prefix(buffer, "parent ", &buffer)) { skip_prefix 651 fsck.c while (skip_prefix(buffer, "author ", &buffer)) { skip_prefix 663 fsck.c if (!skip_prefix(buffer, "committer ", &buffer)) skip_prefix 717 fsck.c if (!skip_prefix(buffer, "object ", &buffer)) { skip_prefix 728 fsck.c if (!skip_prefix(buffer, "type ", &buffer)) { skip_prefix 743 fsck.c if (!skip_prefix(buffer, "tag ", &buffer)) { skip_prefix 762 fsck.c if (!skip_prefix(buffer, "tagger ", &buffer)) { skip_prefix 91 git.c if (skip_prefix(cmd, "--exec-path", &cmd)) { skip_prefix 128 git.c } else if (skip_prefix(cmd, "--git-dir=", &cmd)) { skip_prefix 142 git.c } else if (skip_prefix(cmd, "--namespace=", &cmd)) { skip_prefix 156 git.c } else if (skip_prefix(cmd, "--work-tree=", &cmd)) { skip_prefix 657 git.c if (skip_prefix(cmd, "git-", &cmd)) { skip_prefix 669 git.c skip_prefix(argv[0], "--", &argv[0]); skip_prefix 46 gpg-interface.c if (!skip_prefix(buf, sigcheck_gpg_status[i].check + 1, &found)) { skip_prefix 149 help.c if (!skip_prefix(de->d_name, prefix, &ent)) skip_prefix 279 help.c if (skip_prefix(var, "alias.", &p)) skip_prefix 440 help.c if (skip_prefix(refname, "refs/remotes/", &remote) && skip_prefix 250 http-backend.c if (!skip_prefix(name, "git-", &svc_name)) skip_prefix 767 http-push.c if (skip_prefix(ctx->cdata, "Second-", &arg)) skip_prefix 1041 http-push.c if (!skip_prefix(path, "objects/", &path) || skip_prefix 1582 http-push.c if (skip_prefix(buffer.buf, "ref: ", &name)) { skip_prefix 1286 http.c if (!skip_prefix(asked, base->buf, &tail)) skip_prefix 2067 merge-recursive.c else if (skip_prefix(s, "subtree=", &arg)) skip_prefix 2073 merge-recursive.c else if (skip_prefix(s, "diff-algorithm=", &arg)) { skip_prefix 2092 merge-recursive.c else if (skip_prefix(s, "rename-threshold=", &arg)) { skip_prefix 294 pack-write.c if (skip_prefix(packname, "keep\t", &name)) skip_prefix 255 parse-options.c if (!skip_prefix(arg, long_name, &rest)) skip_prefix 305 parse-options.c if (!skip_prefix(arg + 3, long_name, &rest)) { skip_prefix 48 pretty.c if (!skip_prefix(var, "pretty.", &name)) skip_prefix 76 pretty.c if (skip_prefix(fmt, "format:", &fmt)) skip_prefix 78 pretty.c else if (skip_prefix(fmt, "tformat:", &fmt) || strchr(fmt, '%')) skip_prefix 159 pretty.c if (skip_prefix(arg, "format:", &arg)) { skip_prefix 164 pretty.c if (!*arg || skip_prefix(arg, "tformat:", &arg) || strchr(arg, '%')) { skip_prefix 819 pretty.c } else if (skip_prefix(msg + i, "author ", &name)) { skip_prefix 822 pretty.c } else if (skip_prefix(msg + i, "committer ", &name)) { skip_prefix 964 pretty.c if (skip_prefix(begin, "auto,", &begin)) { skip_prefix 973 pretty.c if (skip_prefix(placeholder + 1, "red", &rest)) skip_prefix 975 pretty.c else if (skip_prefix(placeholder + 1, "green", &rest)) skip_prefix 977 pretty.c else if (skip_prefix(placeholder + 1, "blue", &rest)) skip_prefix 979 pretty.c else if (skip_prefix(placeholder + 1, "reset", &rest)) skip_prefix 1556 pretty.c if (skip_prefix(line, "author ", &name)) { skip_prefix 1560 pretty.c if (skip_prefix(line, "committer ", &name) && skip_prefix 167 ref-filter.c if (skip_prefix(used_atom[at], "color:", &color)) skip_prefix 638 ref-filter.c if (!skip_prefix(ref->refname, "refs/heads/", skip_prefix 648 ref-filter.c if (!skip_prefix(ref->refname, "refs/heads/", skip_prefix 1241 refs.c if (skip_prefix(line.buf, "# pack-refs with:", &traits)) { skip_prefix 806 remote-curl.c if (skip_prefix(buf->buf, "fetch ", &p)) { skip_prefix 1015 remote-curl.c } else if (skip_prefix(buf.buf, "option ", &arg)) { skip_prefix 506 remote.c skip_prefix(head_ref, "refs/heads/", &head_ref)) { skip_prefix 2200 revision.c skip_prefix(refname, "refs/heads/", &refname); skip_prefix 369 setup.c else if (skip_prefix(var, "extensions.", &ext)) { skip_prefix 926 sha1_name.c if (skip_prefix(message, "checkout: moving from ", &match)) skip_prefix 18 test-sha1-array.c if (skip_prefix(line.buf, "append ", &arg)) { skip_prefix 22 test-sha1-array.c } else if (skip_prefix(line.buf, "lookup ", &arg)) { skip_prefix 484 trailer.c if (!skip_prefix(conf_key, "trailer.", &trailer_item)) skip_prefix 517 trailer.c if (!skip_prefix(conf_key, "trailer.", &trailer_item)) skip_prefix 182 transport-helper.c else if (!data->refspecs && skip_prefix(capname, "refspec ", &arg)) { skip_prefix 191 transport-helper.c } else if (skip_prefix(capname, "export-marks ", &arg)) { skip_prefix 193 transport-helper.c } else if (skip_prefix(capname, "import-marks ", &arg)) { skip_prefix 197 transport.c skip_prefix(url, "rsync:", &url); skip_prefix 486 urlmatch.c if (!skip_prefix(var, collect->section, &key) || *(key++) != '.') { skip_prefix 906 wt-status.c if (!skip_prefix(s->branch, "refs/heads/", &branch_name)) skip_prefix 1280 wt-status.c if (skip_prefix(sb.buf, "refs/heads/", &branch_name)) skip_prefix 1312 wt-status.c if (!skip_prefix(message, "checkout: moving from ", &message)) skip_prefix 1352 wt-status.c if (!skip_prefix(from, "refs/tags/", &from)) skip_prefix 1353 wt-status.c skip_prefix(from, "refs/remotes/", &from); skip_prefix 1460 wt-status.c skip_prefix(branch_name, "refs/heads/", &branch_name); skip_prefix 1651 wt-status.c skip_prefix(branch_name, "refs/heads/", &branch_name);