MCPcopy Create free account
hub / github.com/git/git / parse_from

Function parse_from

builtin/fast-import.c:2693–2701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2691}
2692
2693static int parse_from(struct branch *b)
2694{
2695 const char *from;
2696
2697 if (!skip_prefix(command_buf.buf, "from ", &from))
2698 return 0;
2699
2700 return parse_objectish(b, from);
2701}
2702
2703static int parse_objectish_with_prefix(struct branch *b, const char *prefix)
2704{

Callers 2

parse_new_commitFunction · 0.85
parse_reset_branchFunction · 0.85

Calls 1

parse_objectishFunction · 0.85

Tested by

no test coverage detected