summaryrefslogtreecommitdiffstats
path: root/build-delta-from-source.html
blob: 137f17c86000f3d51df92a67df36d62568a6aaf6 (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE HTML>
<html lang="en" class="sidebar-visible no-js light">
    <head>
        <!-- Book generated using mdBook -->
        <meta charset="UTF-8">
        <title>Build delta from source - delta</title>
        <!-- Custom HTML head -->
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="theme-color" content="#ffffff" />

        <link rel="icon" href="favicon.svg">
        <link rel="shortcut icon" href="favicon.png">
        <link rel="stylesheet" href="css/variables.css">
        <link rel="stylesheet" href="css/general.css">
        <link rel="stylesheet" href="css/chrome.css">
        <link rel="stylesheet" href="css/print.css" media="print">
        <!-- Fonts -->
        <link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
        <link rel="stylesheet" href="fonts/fonts.css">
        <!-- Highlight.js Stylesheets -->
        <link rel="stylesheet" href="highlight.css">
        <link rel="stylesheet" href="tomorrow-night.css">
        <link rel="stylesheet" href="ayu-highlight.css">

        <!-- Custom theme stylesheets -->
    </head>
    <body>
        <!-- Provide site root to javascript -->
        <script type="text/javascript">
            var path_to_root = "";
            var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
        </script>

        <!-- Work around some values being stored in localStorage wrapped in quotes -->
        <script type="text/javascript">
            try {
                var theme = localStorage.getItem('mdbook-theme');
                var sidebar = localStorage.getItem('mdbook-sidebar');

                if (theme.startsWith('"') && theme.endsWith('"')) {
                    localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
                }

                if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
                    localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
                }
            } catch (e) { }
        </script>

        <!-- Set the theme before any content is loaded, prevents flash -->
        <script type="text/javascript">
            var theme;
            try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
            if (theme === null || theme === undefined) { theme = default_theme; }
            var html = document.querySelector('html');
            html.classList.remove('no-js')
            html.classList.remove('light')
            html.classList.add(theme);
            html.classList.add('js');
        </script>

        <!-- Hide / unhide sidebar before it is displayed -->
        <script type="text/javascript">
            var html = document.querySelector('html');
            var sidebar = 'hidden';
            if (document.body.clientWidth >= 1080) {
                try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
                sidebar = sidebar || 'visible';
            }
            html.classList.remove('sidebar-visible');
            html.classList.add("sidebar-" + sidebar);
        </script>

        <nav id="sidebar" class="sidebar" aria-label="Table of contents">
            <div class="sidebar-scrollbox">
                <ol class="chapter"><li class="chapter-item expanded "><a href="introduction.html"><strong aria-hidden="true">1.</strong> Introduction</a></li><li class="chapter-item expanded "><a href="get-started.html"><strong aria-hidden="true">2.</strong> Get started</a></li><li class="chapter-item expanded "><a href="features.html"><strong aria-hidden="true">3.</strong> Features</a></li><li class="chapter-item expanded "><a href="installation.html"><strong aria-hidden="true">4.</strong> Installation</a></li><li class="chapter-item expanded "><a href="configuration.html"><strong aria-hidden="true">5.</strong> Configuration</a></li><li class="chapter-item expanded "><a href="environment-variables.html"><strong aria-hidden="true">6.</strong> Environment variables</a></li><li class="chapter-item expanded "><a href="how-delta-works.html"><strong aria-hidden="true">7.</strong> How delta works</a></li><li class="chapter-item expanded "><a href="usage.html"><strong aria-hidden="true">8.</strong> Usage</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="choosing-colors-styles.html"><strong aria-hidden="true">8.1.</strong> Choosing colors (styles)</a></li><li class="chapter-item expanded "><a href="line-numbers.html"><strong aria-hidden="true">8.2.</strong> Line numbers</a></li><li class="chapter-item expanded "><a href="side-by-side-view.html"><strong aria-hidden="true">8.3.</strong> Side-by-side view</a></li><li class="chapter-item expanded "><a href="grep.html"><strong aria-hidden="true">8.4.</strong> Grep</a></li><li class="chapter-item expanded "><a href="features-named-groups-of-settings.html"><strong aria-hidden="true">8.5.</strong> &quot;Features&quot;: named groups of settings</a></li><li class="chapter-item expanded "><a href="custom-themes.html"><strong aria-hidden="true">8.6.</strong> Custom themes</a></li><li class="chapter-item expanded "><a href="diff-highlight-and-diff-so-fancy-emulation.html"><strong aria-hidden="true">8.7.</strong> diff-highlight and diff-so-fancy emulation</a></li><li class="chapter-item expanded "><a href="color-moved-support.html"><strong aria-hidden="true">8.8.</strong> --color-moved support</a></li><li class="chapter-item expanded "><a href="navigation-keybindings-for-large-diffs.html"><strong aria-hidden="true">8.9.</strong> Navigation keybindings for large diffs</a></li><li class="chapter-item expanded "><a href="merge-conflicts.html"><strong aria-hidden="true">8.10.</strong> Merge conflicts</a></li><li class="chapter-item expanded "><a href="git-blame.html"><strong aria-hidden="true">8.11.</strong> Git blame</a></li><li class="chapter-item expanded "><a href="supported-languages-and-themes.html"><strong aria-hidden="true">8.12.</strong> Supported languages and themes</a></li></ol></li><li class="chapter-item expanded "><a href="tips-and-tricks.html"><strong aria-hidden="true">9.</strong> Tips &amp; tricks</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="tips-and-tricks/24-bit-color-truecolor.html"><strong aria-hidden="true">9.1.</strong> 24 bit color (truecolor)</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/using-delta-with-tmux.html"><strong aria-hidden="true">9.2.</strong> Using Delta with tmux</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/using-delta-with-gnu-screen.html"><strong aria-hidden="true">9.3.</strong> Using Delta with GNU Screen</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/using-delta-on-windows.html"><strong aria-hidden="true">9.4.</strong> Using Delta on Windows</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/mouse-scrolling.html"><strong aria-hidden="true">9.5.</strong> Mouse scrolling</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/using-delta-with-magit.html"><strong aria-hidden="true">9.6.</strong> Using Delta with Magit</a></li><li class="chapter-item expanded "><a href="tips-and-tricks/export-to-html.html"><strong aria-hidden="true">9.7.</strong> Save output with colors to HTML/PDF etc</a></li></ol></li><li class="chapter-item expanded "><a href="comparisons-with-other-tools.html"><strong aria-hidden="true">10.</strong> Comparisons with other tools</a></li><li class="chapter-item expanded "><a href="build-delta-from-source.html" class="active"><strong aria-hidden="true">11.</strong> Build delta from source</a></li><li class="chapter-item expanded "><a href="related-projects.html"><strong aria-hidden="true">12.</strong> Related projects</a></li><li class="chapter-item expanded "><a href="full---help-output.html"><strong aria-hidden="true">13.</strong> Full --help output</a></li><li class="chapter-item expanded "