FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/subcommand/rebase_subcommand.hpp at 0.0.12 · QuantStack/git2cpp · GitHub
QuantStack
git2cpp
Repository navigation
Code
Issues
6
(6)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
git2cpp
/
src
/
subcommand
/
rebase_subcommand.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (27 loc) · 928 Bytes
Breadcrumbs
git2cpp
/
src
/
subcommand
/
rebase_subcommand.hpp
Copy path
File metadata and controls
38 lines (27 loc) · 928 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
pragma
once
#
include
<
string
>
#
include
<
CLI/CLI.hpp
>
#
include
"
../utils/common.hpp
"
#
include
"
../wrapper/rebase_wrapper.hpp
"
#
include
"
../wrapper/repository_wrapper.hpp
"
class
rebase_subcommand
{
public:
explicit
rebase_subcommand
(
const
libgit2_object&,
CLI
::App& app);
void
run
();
private:
void
run_rebase
(repository_wrapper& repo);
void
run_abort
(repository_wrapper& repo);
void
run_continue
(repository_wrapper& repo);
void
run_skip
(repository_wrapper& repo);
void
run_quit
(repository_wrapper& repo);
annotated_commit_wrapper
resolve_ref
(
const
repository_wrapper& repo,
const
std::string& ref_name)
const
;
void
perform_rebase
(repository_wrapper& repo, rebase_wrapper& rebase);
std::string m_upstream = {};
std::string m_branch = {};
std::string m_onto = {};
bool
m_abort =
false
;
bool
m_continue =
false
;
bool
m_skip =
false
;
bool
m_quit =
false
;
};
Back
|
FazBrowse Home
|
New Git URL