FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/subcommand/diff_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
/
diff_subcommand.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
64 lines (50 loc) · 1.47 KB
Breadcrumbs
git2cpp
/
src
/
subcommand
/
diff_subcommand.hpp
Copy path
File metadata and controls
64 lines (50 loc) · 1.47 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
pragma
once
#
include
<
string
>
#
include
<
CLI/CLI.hpp
>
#
include
"
../utils/common.hpp
"
#
include
"
../wrapper/diff_wrapper.hpp
"
class
diff_subcommand
{
public:
explicit
diff_subcommand
(
const
libgit2_object&,
CLI
::App& app);
void
print_diff
(diff_wrapper& diff,
bool
use_colour);
void
run
();
private:
std::vector<std::string> m_files;
bool
m_stat_flag =
false
;
bool
m_shortstat_flag =
false
;
bool
m_numstat_flag =
false
;
bool
m_summary_flag =
false
;
bool
m_name_only_flag =
false
;
bool
m_name_status_flag =
false
;
bool
m_raw_flag =
false
;
bool
m_cached_flag =
false
;
bool
m_no_index_flag =
false
;
bool
m_reverse_flag =
false
;
bool
m_text_flag =
false
;
bool
m_ignore_space_at_eol_flag =
false
;
bool
m_ignore_space_change_flag =
false
;
bool
m_ignore_all_space_flag =
false
;
bool
m_untracked_flag =
false
;
bool
m_patience_flag =
false
;
bool
m_minimal_flag =
false
;
uint16_t
m_rename_threshold =
50
;
bool
m_find_renames_flag =
false
;
uint16_t
m_copy_threshold =
50
;
bool
m_find_copies_flag =
false
;
bool
m_find_copies_harder_flag =
false
;
bool
m_break_rewrites_flag =
false
;
uint m_context_lines =
3
;
uint m_interhunk_lines =
0
;
uint m_abbrev =
7
;
bool
m_colour_flag =
true
;
bool
m_no_colour_flag =
false
;
};
void
print_stats
(
const
diff_wrapper& diff,
bool
use_colour,
bool
stat_flag,
bool
shortstat_flag,
bool
numstat_flag,
bool
summary_flag
);
Back
|
FazBrowse Home
|
New Git URL