origin 305 attr.c char *origin; origin 315 attr.c free(e->origin); origin 447 attr.c fprintf(stderr, "%s: %s\n", what, elem->origin ? elem->origin : "()"); origin 503 attr.c elem->origin = NULL; origin 510 attr.c elem->origin = NULL; origin 521 attr.c elem->origin = NULL; origin 529 attr.c elem->origin = xstrdup(""); origin 539 attr.c elem->origin = NULL; origin 579 attr.c while (attr_stack->origin) { origin 580 attr.c int namelen = strlen(attr_stack->origin); origin 584 attr.c !strncmp(elem->origin, path, namelen) && origin 605 attr.c assert(attr_stack->origin); origin 607 attr.c len = strlen(attr_stack->origin); origin 618 attr.c elem->origin = strbuf_detach(&pathbuf, &elem->originlen); origin 685 attr.c const char *base = stk->origin ? stk->origin : ""; origin 36 branch.c static int should_setup_rebase(const char *origin) origin 42 branch.c return origin == NULL; origin 44 branch.c return origin != NULL; origin 51 branch.c void install_branch_config(int flag, const char *local, const char *origin, const char *remote) origin 55 branch.c int rebasing = should_setup_rebase(origin); origin 59 branch.c && !origin) { origin 66 branch.c git_config_set(key.buf, origin ? origin : "."); origin 81 branch.c if (origin) origin 85 branch.c local, shortname, origin); origin 92 branch.c if (origin) origin 48 branch.h extern void install_branch_config(int flag, const char *local, const char *origin, const char *remote); origin 92 builtin/blame.c struct origin *previous; origin 110 builtin/blame.c struct origin *next; origin 177 builtin/blame.c struct origin *o, mmfile_t *file) origin 205 builtin/blame.c static inline struct origin *origin_incref(struct origin *o) origin 212 builtin/blame.c static void origin_decref(struct origin *o) origin 215 builtin/blame.c struct origin *p, *l = NULL; origin 234 builtin/blame.c static void drop_origin_blob(struct origin *o) origin 263 builtin/blame.c struct origin *suspect; origin 435 builtin/blame.c static void queue_blames(struct scoreboard *sb, struct origin *porigin, origin 441 builtin/blame.c struct origin *o; origin 459 builtin/blame.c static struct origin *make_origin(struct commit *commit, const char *path) origin 461 builtin/blame.c struct origin *o; origin 475 builtin/blame.c static struct origin *get_origin(struct scoreboard *sb, origin 479 builtin/blame.c struct origin *o, *l; origin 504 builtin/blame.c static int fill_blob_sha1_and_mode(struct origin *origin) origin 506 builtin/blame.c if (!is_null_sha1(origin->blob_sha1)) origin 508 builtin/blame.c if (get_tree_entry(origin->commit->object.sha1, origin 509 builtin/blame.c origin->path, origin 510 builtin/blame.c origin->blob_sha1, &origin->mode)) origin 512 builtin/blame.c if (sha1_object_info(origin->blob_sha1, NULL) != OBJ_BLOB) origin 516 builtin/blame.c hashclr(origin->blob_sha1); origin 517 builtin/blame.c origin->mode = S_IFINVALID; origin 525 builtin/blame.c static struct origin *find_origin(struct scoreboard *sb, origin 527 builtin/blame.c struct origin *origin) origin 529 builtin/blame.c struct origin *porigin; origin 535 builtin/blame.c if (!strcmp(porigin->path, origin->path)) { origin 551 builtin/blame.c paths[0] = origin->path; origin 559 builtin/blame.c if (is_null_sha1(origin->commit->object.sha1)) origin 563 builtin/blame.c origin->commit->tree->object.sha1, origin 569 builtin/blame.c porigin = get_origin(sb, parent, origin->path); origin 570 builtin/blame.c hashcpy(porigin->blob_sha1, origin->blob_sha1); origin 571 builtin/blame.c porigin->mode = origin->mode; origin 585 builtin/blame.c if (!strcmp(name, origin->path)) origin 595 builtin/blame.c porigin = get_origin(sb, parent, origin->path); origin 614 builtin/blame.c static struct origin *find_rename(struct scoreboard *sb, origin 616 builtin/blame.c struct origin *origin) origin 618 builtin/blame.c struct origin *porigin = NULL; origin 626 builtin/blame.c diff_opts.single_follow = origin->path; origin 629 builtin/blame.c if (is_null_sha1(origin->commit->object.sha1)) origin 633 builtin/blame.c origin->commit->tree->object.sha1, origin 640 builtin/blame.c !strcmp(p->two->path, origin->path)) { origin 707 builtin/blame.c struct origin *parent) origin 843 builtin/blame.c struct origin *parent) origin 934 builtin/blame.c struct origin *parent; origin 959 builtin/blame.c struct origin *target, origin 960 builtin/blame.c struct origin *parent) origin 1062 builtin/blame.c struct origin *parent, origin 1080 builtin/blame.c struct origin *parent; origin 1104 builtin/blame.c struct origin *parent, origin 1168 builtin/blame.c struct origin *target, origin 1169 builtin/blame.c struct origin *parent) origin 1244 builtin/blame.c struct origin *target, origin 1246 builtin/blame.c struct origin *porigin, origin 1293 builtin/blame.c struct origin *norigin; origin 1348 builtin/blame.c struct origin *origin, struct origin *porigin) origin 1352 builtin/blame.c if (!porigin->file.ptr && origin->file.ptr) { origin 1354 builtin/blame.c porigin->file = origin->file; origin 1355 builtin/blame.c origin->file.ptr = NULL; origin 1357 builtin/blame.c suspects = origin->suspects; origin 1358 builtin/blame.c origin->suspects = NULL; origin 1400 builtin/blame.c struct origin *porigin = blamed->suspect; origin 1415 builtin/blame.c static void pass_blame(struct scoreboard *sb, struct origin *origin, int opt) origin 1419 builtin/blame.c struct commit *commit = origin->commit; origin 1421 builtin/blame.c struct origin *sg_buf[MAXSG]; origin 1422 builtin/blame.c struct origin *porigin, **sg_origin = sg_buf; origin 1439 builtin/blame.c struct origin *(*find)(struct scoreboard *, origin 1440 builtin/blame.c struct commit *, struct origin *); origin 1453 builtin/blame.c porigin = find(sb, p, origin); origin 1456 builtin/blame.c if (!hashcmp(porigin->blob_sha1, origin->blob_sha1)) { origin 1457 builtin/blame.c pass_whole_blame(sb, origin, porigin); origin 1479 builtin/blame.c struct origin *porigin = sg_origin[i]; origin 1482 builtin/blame.c if (!origin->previous) { origin 1484 builtin/blame.c origin->previous = porigin; origin 1486 builtin/blame.c pass_blame_to_parent(sb, origin, porigin); origin 1487 builtin/blame.c if (!origin->suspects) origin 1495 builtin/blame.c filter_small(sb, &toosmall, &origin->suspects, blame_move_score); origin 1496 builtin/blame.c if (origin->suspects) { origin 1500 builtin/blame.c struct origin *porigin = sg_origin[i]; origin 1503 builtin/blame.c find_move_in_parent(sb, &blametail, &toosmall, origin, porigin); origin 1504 builtin/blame.c if (!origin->suspects) origin 1515 builtin/blame.c filter_small(sb, &toosmall, &origin->suspects, blame_copy_score); origin 1517 builtin/blame.c origin->suspects = blame_merge(origin->suspects, toosmall); origin 1519 builtin/blame.c filter_small(sb, &toosmall, &origin->suspects, blame_copy_score); origin 1521 builtin/blame.c if (!origin->suspects) origin 1527 builtin/blame.c struct origin *porigin = sg_origin[i]; origin 1529 builtin/blame.c origin, sg->item, porigin, opt); origin 1530 builtin/blame.c if (!origin->suspects) origin 1548 builtin/blame.c *tail = origin->suspects; origin 1549 builtin/blame.c origin->suspects = toosmall; origin 1557 builtin/blame.c drop_origin_blob(origin); origin 1713 builtin/blame.c static int emit_one_suspect_detail(struct origin *suspect, int repeat) origin 1734 builtin/blame.c struct origin *prev = suspect->previous; origin 1751 builtin/blame.c struct origin *suspect = ent->suspect; origin 1773 builtin/blame.c struct origin *suspect = commit->util; origin 1868 builtin/blame.c static void emit_porcelain_details(struct origin *suspect, int repeat) origin 1881 builtin/blame.c struct origin *suspect = ent->suspect; origin 1918 builtin/blame.c struct origin *suspect = ent->suspect; origin 2000 builtin/blame.c struct origin *suspect; origin 2077 builtin/blame.c static int update_auto_abbrev(int auto_abbrev, struct origin *suspect) origin 2101 builtin/blame.c struct origin *suspect = e->suspect; origin 2282 builtin/blame.c struct origin *origin; origin 2306 builtin/blame.c origin = make_origin(commit, path); origin 2363 builtin/blame.c origin->file.ptr = buf.buf; origin 2364 builtin/blame.c origin->file.size = buf.len; origin 2365 builtin/blame.c pretend_sha1_file(buf.buf, buf.len, OBJ_BLOB, origin->blob_sha1); origin 2387 builtin/blame.c hashcpy(ce->sha1, origin->blob_sha1); origin 2500 builtin/blame.c struct origin *o; origin 105 builtin/fmt-merge-msg.c const char *origin; origin 158 builtin/fmt-merge-msg.c origin = src; origin 162 builtin/fmt-merge-msg.c origin = line + 7; origin 163 builtin/fmt-merge-msg.c string_list_append(&src_data->branch, origin); origin 166 builtin/fmt-merge-msg.c origin = line; origin 167 builtin/fmt-merge-msg.c string_list_append(&src_data->tag, origin + 4); origin 169 builtin/fmt-merge-msg.c } else if (skip_prefix(line, "remote-tracking branch ", &origin)) { origin 170 builtin/fmt-merge-msg.c string_list_append(&src_data->r_branch, origin); origin 173 builtin/fmt-merge-msg.c origin = src; origin 178 builtin/fmt-merge-msg.c if (!strcmp(".", src) || !strcmp(src, origin)) { origin 179 builtin/fmt-merge-msg.c int len = strlen(origin); origin 180 builtin/fmt-merge-msg.c if (origin[0] == '\'' && origin[len - 1] == '\'') origin 181 builtin/fmt-merge-msg.c origin = xmemdupz(origin + 1, len - 2); origin 183 builtin/fmt-merge-msg.c origin = xstrfmt("%s of %s", origin, src); origin 186 builtin/fmt-merge-msg.c string_list_append(&origins, origin)->util = origin_data; origin 926 builtin/log.c struct commit *origin, origin 989 builtin/log.c if (!origin) origin 997 builtin/log.c diff_tree_sha1(origin->tree->object.sha1, origin 1200 builtin/log.c struct commit *origin = NULL; origin 1462 builtin/log.c origin = (boundary_count == 1) ? commit : NULL; origin 1512 builtin/log.c origin, nr, list, branch_name, quiet); origin 113 builtin/merge-tree.c src.ptr = origin(entry, &size); origin 602 builtin/remote.c if (remote->origin == REMOTE_REMOTES) origin 604 builtin/remote.c else if (remote->origin == REMOTE_BRANCHES) origin 632 builtin/remote.c if (!strcmp(rename.old, rename.new) && oldremote->origin != REMOTE_CONFIG) origin 207 grep.c const char *origin, int no, origin 214 grep.c p->origin = origin; origin 243 grep.c new_pat = create_grep_pat(nl + 1, len - 1, p->origin, origin 269 grep.c const char *origin, int no, enum grep_pat_token t) origin 271 grep.c append_grep_pat(opt, pat, strlen(pat), origin, no, t); origin 275 grep.c const char *origin, int no, enum grep_pat_token t) origin 277 grep.c struct grep_pat *p = create_grep_pat(pat, patlen, origin, no, t, 0); origin 297 grep.c pat->origin, pat->no, pat->token); origin 309 grep.c sprintf(where, "In '%s' at %d, ", p->origin, p->no); origin 310 grep.c else if (p->origin) origin 311 grep.c sprintf(where, "%s, ", p->origin); origin 42 grep.h const char *origin; origin 150 grep.h extern void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen, const char *origin, int no, enum grep_pat_token t); origin 151 grep.h extern void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t); origin 257 remote.c remote->origin = REMOTE_REMOTES; origin 317 remote.c remote->origin = REMOTE_BRANCHES; origin 414 remote.c remote->origin = REMOTE_CONFIG; origin 17 remote.h int origin;