MCPcopy Create free account
hub / github.com/Murmele/Gittyup / commitToRebase

Method commitToRebase

src/git/Rebase.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44Commit Rebase::commitToRebase() const {
45 git_rebase_operation *op =
46 git_rebase_operation_byindex(d.data(), currentIndex());
47 if (!op)
48 return Commit();
49
50 git_commit *commit = nullptr;
51 git_commit_lookup(&commit, mRepo, &op->id);
52 return Commit(commit);
53}
54
55Commit Rebase::next() const {
56 git_rebase_operation *op = nullptr;

Callers 2

rebaseContinueMethod · 0.80
rebaseConflictMethod · 0.80

Calls 2

CommitClass · 0.70
dataMethod · 0.45

Tested by

no test coverage detected